[Mesa-dev] [Bug 100073] Shader Disk Cache 32/64 bit detection has a flaw. Missed existence of x32 ABI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 12 18:44:58 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100073

--- Comment #34 from Marek Olšák <maraeo at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170312/3d5a01ae/attachment.html>


More information about the mesa-dev mailing list