vulkan/pipeline: Hash null descriptor robustness info

Fixes: 6ae401aa86 ("vulkan: Add null descriptor bits to vk_pipeline_robustness_state")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34967>
(cherry picked from commit 347e957b44)
This commit is contained in:
Faith Ekstrand 2025-05-14 03:19:09 -04:00 committed by Eric Engestrom
parent 658a1624a8
commit e8c614b88e
2 changed files with 5 additions and 1 deletions

View file

@ -774,7 +774,7 @@
"description": "vulkan/pipeline: Hash null descriptor robustness info",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "6ae401aa868066eecbe6307c6e8173525f566580",
"notes": null

View file

@ -255,6 +255,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));