anv: hash immutable sampler conversion data not pointers
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 28 Mar 2023 09:52:21 +0000 (12:52 +0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 30 Mar 2023 00:31:20 +0000 (00:31 +0000)
commitba670f0cdfd99bb3c0f46b111191388d324a0f35
tree12cde4be969b8e7f7c3176ac3f6b65ce671f7fcc
parent71e5530c07a1743c68d889b11c3fa2259a6376be
anv: hash immutable sampler conversion data not pointers

The conversion pointer has a vk_object_base containing pointers.

Previous commits had a similar issue, storing an internal pointer to
the array of formats in anv_format.c

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22160>
src/intel/vulkan/anv_descriptor_set.c