https://bugs.freedesktop.org/show_bug.cgi?id=100073
--- Comment #34 from Marek Olšák <mar...@gmail.com> ---
Your argument for keeping the GPU and build IDs out of the hash because of the
possibility of collisions has one flaw: The probability of a collision doesn't
grow when the cache is already full (if the number of items in the cache
remains the same).
Therefore, I think having one cache shared by all GPUs and builds would be a
nice simplification without any theoretical disadvantage.
It's a bad idea to wipe the cache on a driver or GPU switch, because DRI PRIME
(hybrid graphics) switches between 2 GPUs all the time. It's also not nice to
have 4 separate caches ({32-bit, 64-bit} x {dGPU, iGPU}).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev