VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT
The VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT
structure is defined as:
typedef struct VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 dynamicRenderingUnusedAttachments;
} VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT;
This structure describes the following feature:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.dynamicRenderingUnusedAttachmentsindicates that the implementation supports binding graphics pipelines within a render pass instance where any pipeline VkPipelineRenderingCreateInfo::pColorAttachmentFormatselement with a format other thanVK_FORMAT_UNDEFINEDis allowed with a corresponding VkRenderingInfo::pColorAttachmentselement with animageViewequal to VK_NULL_HANDLE, or any pipeline VkPipelineRenderingCreateInfo::pColorAttachmentFormatselement with aVK_FORMAT_UNDEFINEDformat is allowed with a corresponding VkRenderingInfo::pColorAttachmentselement with a non-VK_NULL_HANDLEimageView. Also a VkPipelineRenderingCreateInfo::depthAttachmentFormatother thanVK_FORMAT_UNDEFINEDis allowed with a VK_NULL_HANDLE VkRenderingInfo::pDepthAttachment, or a VkPipelineRenderingCreateInfo::depthAttachmentFormatofVK_FORMAT_UNDEFINEDis allowed with a non-VK_NULL_HANDLE
VkRenderingInfo::pDepthAttachment. Also a VkPipelineRenderingCreateInfo::stencilAttachmentFormatother thanVK_FORMAT_UNDEFINEDis allowed with a VK_NULL_HANDLE
VkRenderingInfo::pStencilAttachment, or a VkPipelineRenderingCreateInfo::stencilAttachmentFormatofVK_FORMAT_UNDEFINEDis allowed with a non-VK_NULL_HANDLE
VkRenderingInfo::pStencilAttachment. Any writes to a VkRenderingInfo::pColorAttachments, VkRenderingInfo::pDepthAttachment, or VkRenderingInfo::pStencilAttachmentwith VK_NULL_HANDLE are discarded.
If the VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT