summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta.c
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2018-08-21 00:08:54 +0300
committerGrazvydas Ignotas <[email protected]>2018-08-23 00:34:32 +0300
commit356f6673d695eb98c42d80f3c2b30fad746cdbba (patch)
treeb0619723702eabb6ac121c246ca51b7b2bf0ab58 /src/amd/vulkan/radv_meta.c
parent2edf47edf08c63eb2b8f809a5be387d00da193e5 (diff)
radv: place pointer length into cache uuid
Thanks to reproducible builds, binary file timestamps may be identical for both 32bit and 64bit packages when built from the same source. This means radv will use the same cache for both 32 and 64 bit processes, which leads to crashes. Conveniently there is a spare byte in cache_uuid, let's place the pointer size there. Fixes: f4e499ec79 "radv: add initial non-conformant radv vulkan driver" CC: 18.1 18.2 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107601 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105904 Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.c')
0 files changed, 0 insertions, 0 deletions