mirror of https://gitlab.freedesktop.org/mesa/mesa
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>
This commit is contained in:
parent
71e5530c07
commit
ba670f0cdf
|
@ -696,8 +696,7 @@ sha1_update_immutable_sampler(struct mesa_sha1 *ctx,
|
|||
return;
|
||||
|
||||
/* The only thing that affects the shader is ycbcr conversion */
|
||||
_mesa_sha1_update(ctx, sampler->conversion,
|
||||
sizeof(*sampler->conversion));
|
||||
SHA1_UPDATE_VALUE(ctx, sampler->conversion->state);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue