C Specification
The VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT
structure is defined as:
// Provided by VK_EXT_dynamic_rendering_unused_attachments
typedef struct VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 dynamicRenderingUnusedAttachments;
} VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT;
Description
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
dynamicRenderingUnusedAttachments
indicates that the implementation supports binding graphics pipelines within a render pass instance where any pipeline VkPipelineRenderingCreateInfo::pColorAttachmentFormats
element with a format other thanVK_FORMAT_UNDEFINED
is allowed with a corresponding VkRenderingInfo::pColorAttachments
element with aimageView
equal to VK_NULL_HANDLE, or any pipeline VkPipelineRenderingCreateInfo::pColorAttachmentFormats
element with aVK_FORMAT_UNDEFINED
format is allowed with a corresponding VkRenderingInfo::pColorAttachments
element with a non-VK_NULL_HANDLEimageView
. Also a VkPipelineRenderingCreateInfo::depthAttachmentFormat
other thanVK_FORMAT_UNDEFINED
is allowed with a VK_NULL_HANDLE VkRenderingInfo::pDepthAttachment
, or a VkPipelineRenderingCreateInfo::depthAttachmentFormat
ofVK_FORMAT_UNDEFINED
is allowed with a non-VK_NULL_HANDLE VkRenderingInfo::pDepthAttachment
. Also a VkPipelineRenderingCreateInfo::stencilAttachmentFormat
other thanVK_FORMAT_UNDEFINED
is allowed with a VK_NULL_HANDLE VkRenderingInfo::pStencilAttachment
, or a VkPipelineRenderingCreateInfo::stencilAttachmentFormat
ofVK_FORMAT_UNDEFINED
is allowed with a non-VK_NULL_HANDLE VkRenderingInfo::pStencilAttachment
. Any writes to a VkRenderingInfo::pColorAttachments
, VkRenderingInfo::pDepthAttachment
, or VkRenderingInfo::pStencilAttachment
with 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.
VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT
can also be used in the pNext
chain of
VkDeviceCreateInfo to selectively enable these features.
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.