[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
Sat Mar 11 12:06:42 UTC 2017


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

--- Comment #27 from Tobias Droste <tdroste at gmx.de> ---
They are build from the same source code version so it's perfectly fine for
them to have the same timestamp.

In fact, this actually helps and would make it unnecessary to have separate
folders! 
I think you miss the point of why there are different folders.

There are different folders, because usually 32bit and 64bit builds from the
_same_ source version usually have different timestamps. If you would have the
cache in only a single directory and run 64bit and 32bit applications mixed,
each would invalidate the cache if it was created from the other arch.

So if you run multiple archs and thery have the same timestamp (as you claim)
you will not run into problems if different archs share the same cache folder.

As mentioned before, the arch is changing the content of the cache item as the
content is defined by our GPU and not CPU.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170311/94dc88bc/attachment.html>


More information about the mesa-dev mailing list