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>
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