mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 08:10:32 +01:00
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
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue