C Specification
If the pNext chain of VkCommandBufferInheritanceInfo includes a
VkCommandBufferInheritanceDescriptorHeapInfoEXT structure, then that
structure indicates that the secondary will use the same descriptor heaps as
the primary command buffer.
The VkCommandBufferInheritanceDescriptorHeapInfoEXT structure is
defined as:
// Provided by VK_EXT_descriptor_heap
typedef struct VkCommandBufferInheritanceDescriptorHeapInfoEXT {
VkStructureType sType;
const void* pNext;
const VkBindHeapInfoEXT* pSamplerHeapBindInfo;
const VkBindHeapInfoEXT* pResourceHeapBindInfo;
} VkCommandBufferInheritanceDescriptorHeapInfoEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
pSamplerHeapBindInfospecifies the VkBindHeapInfoEXT of the sampler heap bound using vkCmdBindSamplerHeapEXT in the primary. If this isNULL, it indicates that no sampler heap is bound. -
pResourceHeapBindInfospecifies the VkBindHeapInfoEXT of the resource heap bound using vkCmdBindResourceHeapEXT in the primary. If this isNULL, it indicates that no resource heap is bound.
Description
If this structure is not present, the behavior is as if
pSamplerHeapBindInfo and pResourceHeapBindInfo were both NULL.
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.