vk/meta: Add the PUSH_DESCRIPTOR_BIT flag when creating blit pipeline layouts

Descriptors are updated with CmdPushDescriptorSet(), we need to reflect
that with a VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR when
the DescriptorSetLayout is created.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28073>
This commit is contained in:
Boris Brezillon 2024-01-10 11:26:25 +01:00 committed by Marge Bot
parent 24cedcf838
commit c722265c16

View file

@ -362,6 +362,7 @@ get_blit_pipeline_layout(struct vk_device *device,
const VkDescriptorSetLayoutCreateInfo desc_info = {
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO,
.flags = VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR,
.bindingCount = ARRAY_SIZE(bindings),
.pBindings = bindings,
};