From 347e957b44746bbe417d77f19113463da6817d58 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 14 May 2025 03:19:09 -0400 Subject: [PATCH] vulkan/pipeline: Hash null descriptor robustness info Fixes: 6ae401aa8680 ("vulkan: Add null descriptor bits to vk_pipeline_robustness_state") Reviewed-by: Lionel Landwerlin Part-of: --- src/vulkan/runtime/vk_pipeline.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vulkan/runtime/vk_pipeline.c b/src/vulkan/runtime/vk_pipeline.c index 8212c311c21..df04264cbd7 100644 --- a/src/vulkan/runtime/vk_pipeline.c +++ b/src/vulkan/runtime/vk_pipeline.c @@ -256,6 +256,10 @@ vk_pipeline_hash_shader_stage(VkPipelineCreateFlags2KHR pipeline_flags, _mesa_sha1_update(&ctx, &rstate->uniform_buffers, sizeof(rstate->uniform_buffers)); _mesa_sha1_update(&ctx, &rstate->vertex_inputs, sizeof(rstate->vertex_inputs)); _mesa_sha1_update(&ctx, &rstate->images, sizeof(rstate->images)); + _mesa_sha1_update(&ctx, &rstate->null_uniform_buffer_descriptor, + sizeof(rstate->null_uniform_buffer_descriptor)); + _mesa_sha1_update(&ctx, &rstate->null_storage_buffer_descriptor, + sizeof(rstate->null_storage_buffer_descriptor)); } _mesa_sha1_update(&ctx, info->pName, strlen(info->pName));