mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 19:50:12 +01:00
panvk: fix descriptor set layout hash
Save the hash to layout->vk.blake3, rather than the unused layout->hash. Fixes:73518dc169("panvk: Add Valhall DescriptorSetLayout implementation") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31773> (cherry picked from commitc23f7a2562)
This commit is contained in:
parent
2f2b79a495
commit
fcfb957ad5
3 changed files with 2 additions and 3 deletions
|
|
@ -114,7 +114,7 @@
|
|||
"description": "panvk: fix descriptor set layout hash",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "73518dc169fc8d2b3cf8221d9244cba3d0e4bb16",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ struct panvk_descriptor_set_binding_layout {
|
|||
struct panvk_descriptor_set_layout {
|
||||
struct vk_descriptor_set_layout vk;
|
||||
VkDescriptorSetLayoutCreateFlagBits flags;
|
||||
blake3_hash hash;
|
||||
unsigned desc_count;
|
||||
unsigned dyn_buf_count;
|
||||
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ panvk_per_arch(CreateDescriptorSetLayout)(
|
|||
/* Immutable samplers are ignored for now */
|
||||
}
|
||||
|
||||
_mesa_blake3_final(&hash_ctx, layout->hash);
|
||||
_mesa_blake3_final(&hash_ctx, layout->vk.blake3);
|
||||
|
||||
free(bindings);
|
||||
*pSetLayout = panvk_descriptor_set_layout_to_handle(layout);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue