diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 84c2dc6796c..128d035ed4e 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -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