summaryrefslogtreecommitdiffstats
path: root/doc/specs/vulkan/chapters/descriptorsets.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/specs/vulkan/chapters/descriptorsets.txt')
-rw-r--r--doc/specs/vulkan/chapters/descriptorsets.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/specs/vulkan/chapters/descriptorsets.txt b/doc/specs/vulkan/chapters/descriptorsets.txt
index 6e40b26..1e60aa4 100644
--- a/doc/specs/vulkan/chapters/descriptorsets.txt
+++ b/doc/specs/vulkan/chapters/descriptorsets.txt
@@ -2373,6 +2373,15 @@ include::../api/protos/vkUpdateDescriptorSetWithTemplateKHR.txt[]
of slink:VkDescriptorImageInfo, slink:VkDescriptorBufferInfo, or
slink:VkBufferView used to write the descriptors.
+.Valid Usage
+****
+ * pname:pData must: be a pointer to a memory that contains one or more
+ valid instances of slink:VkDescriptorImageInfo,
+ slink:VkDescriptorBufferInfo, or slink:VkBufferView in a layout defined
+ by pname:descriptorUpdateTemplate when it was created with
+ flink:vkCreateDescriptorUpdateTemplateKHR
+****
+
include::../validity/protos/vkUpdateDescriptorSetWithTemplateKHR.txt[]
.API example
@@ -2699,6 +2708,11 @@ include::../api/protos/vkCmdPushDescriptorSetWithTemplateKHR.txt[]
The pipelineBindPoint specified during the creation of the descriptor
update template must: be supported by the pname:commandBuffer's parent
sname:VkCommandPool's queue family
+ * pname:pData must: be a pointer to a memory that contains one or more
+ valid instances of slink:VkDescriptorImageInfo,
+ slink:VkDescriptorBufferInfo, or slink:VkBufferView in a layout defined
+ by pname:descriptorUpdateTemplate when it was created with
+ flink:vkCreateDescriptorUpdateTemplateKHR
****
include::../validity/protos/vkCmdPushDescriptorSetWithTemplateKHR.txt[]