mirror of https://gitlab.freedesktop.org/mesa/mesa
nvk: Dirty cbufs in CmdPushDescriptorSetWithTemplate2KHR
Fixes: 091a945b57
("nvk: Be much more conservative about rebinding cbufs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29737>
This commit is contained in:
parent
81e6c612f1
commit
f39520e02c
|
@ -1005,11 +1005,13 @@ nvk_CmdPushDescriptorSetWithTemplate2KHR(
|
|||
return;
|
||||
|
||||
struct nvk_descriptor_set_layout *set_layout =
|
||||
vk_to_nvk_descriptor_set_layout(pipeline_layout->set_layouts[pPushDescriptorSetWithTemplateInfo->set]);
|
||||
vk_to_nvk_descriptor_set_layout(pipeline_layout->set_layouts[set]);
|
||||
|
||||
nvk_push_descriptor_set_update_template(dev, push_set, set_layout, template,
|
||||
pPushDescriptorSetWithTemplateInfo->pData);
|
||||
|
||||
nvk_cmd_dirty_cbufs_for_descriptors(cmd, info->stageFlags,
|
||||
/* We don't know the actual set of stages here so assume everything */
|
||||
nvk_cmd_dirty_cbufs_for_descriptors(cmd, NVK_VK_GRAPHICS_STAGE_BITS |
|
||||
VK_SHADER_STAGE_COMPUTE_BIT,
|
||||
set, set + 1, 0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue