radv: initialize the device cache UUID even if on-disk cache is disabled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 5 Jun 2023 13:54:09 +0000 (15:54 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Jun 2023 12:47:31 +0000 (12:47 +0000)
commit8a22f5c3729c2241b69e6f358bdafa0f098d00bb
tree94f587f5043df59c6815ae1762a85c1f3ba2a167
parente6e320fc7996db60231d277bc3e28fdd01018b33
radv: initialize the device cache UUID even if on-disk cache is disabled

Otherwise the pipeline cache UUID isn't initialized as well, and the
RADV meta shaders cache can be corrupted.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9150
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23439>
src/amd/vulkan/radv_physical_device.c