Vulkan-Docs/doc/specs/vulkan/validity/structs/VkCopyDescriptorSet.txt

24 lines
1.7 KiB
Plaintext

// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
ifndef::doctype-manpage[]
.Valid Usage
********************************************************************************
endif::doctype-manpage[]
ifdef::doctype-manpage[]
Valid Usage
-----------
endif::doctype-manpage[]
* pname:sType must: be ename:VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET
* pname:pNext must: be `NULL`
* pname:srcSet must: be a valid sname:VkDescriptorSet handle
* pname:dstSet must: be a valid sname:VkDescriptorSet handle
* Each of pname:srcSet and pname:dstSet must: have been created, allocated or retrieved from the same sname:VkDevice
* pname:srcBinding must: be a valid binding within pname:srcSet
* The sum of pname:srcArrayElement and pname:descriptorCount must: be less than or equal to the number of array elements in the descriptor set binding specified by pname:srcBinding, and all applicable consecutive bindings, as described by <<descriptorsets-updates-consecutive>>
* pname:dstBinding must: be a valid binding within pname:dstSet
* The sum of pname:dstArrayElement and pname:descriptorCount must: be less than or equal to the number of array elements in the descriptor set binding specified by pname:dstBinding, and all applicable consecutive bindings, as described by <<descriptorsets-updates-consecutive>>
* If pname:srcSet is equal to pname:dstSet, then the source and destination ranges of descriptors mustnot: overlap, where the ranges may: include array elements from consecutive bindings as described by <<descriptorsets-updates-consecutive>>
ifndef::doctype-manpage[]
********************************************************************************
endif::doctype-manpage[]