Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
---
 src/amd/vulkan/radv_descriptor_set.c | 1 +
 src/amd/vulkan/radv_private.h        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/amd/vulkan/radv_descriptor_set.c 
b/src/amd/vulkan/radv_descriptor_set.c
index b1ef66308d..bbabfa9b27 100644
--- a/src/amd/vulkan/radv_descriptor_set.c
+++ b/src/amd/vulkan/radv_descriptor_set.c
@@ -847,6 +847,7 @@ VkResult radv_CreateDescriptorUpdateTemplateKHR(VkDevice 
_device,
                return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
 
        templ->entry_count = entry_count;
+       templ->bind_point = pCreateInfo->pipelineBindPoint;
 
        for (i = 0; i < entry_count; i++) {
                const VkDescriptorUpdateTemplateEntryKHR *entry = 
&pCreateInfo->pDescriptorUpdateEntries[i];
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index fedbb5d29f..963a28d10c 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -718,6 +718,7 @@ struct radv_descriptor_update_template_entry {
 
 struct radv_descriptor_update_template {
        uint32_t entry_count;
+       VkPipelineBindPoint bind_point;
        struct radv_descriptor_update_template_entry entry[0];
 };
 
-- 
2.16.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to