VkMultisampledRenderToSingleSampledInfoEXT
If the pNext
chain of VkSubpassDescription2
or VkRenderingInfo
includes a VkMultisampledRenderToSingleSampledInfoEXT
structure, then
that structure describes how multisampled rendering is performed on single
sampled attachments in that subpass.
The VkMultisampledRenderToSingleSampledInfoEXT
structure is defined
as:
typedef struct VkMultisampledRenderToSingleSampledInfoEXT {
VkStructureType sType;
const void* pNext;
VkBool32 multisampledRenderToSingleSampledEnable;
VkSampleCountFlagBits rasterizationSamples;
} VkMultisampledRenderToSingleSampledInfoEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.multisampledRenderToSingleSampledEnable
controls whether multisampled rendering to single-sampled attachments is performed as described below.rasterizationSamples
is a VkSampleCountFlagBits specifying the number of samples used in rasterization.
Valid Usage
VUID-VkMultisampledRenderToSingleSampledInfoEXT-rasterizationSamples-06878
The value of rasterizationSamples
must not be
VK_SAMPLE_COUNT_1_BIT
VUID-VkMultisampledRenderToSingleSampledInfoEXT-pNext-06880
If added to the pNext
chain of VkRenderingInfo, each
imageView
member of any element of
VkRenderingInfo::pColorAttachments
,
VkRenderingInfo::pDepthAttachment
, or
VkRenderingInfo::pStencilAttachment
that is not
VK_NULL_HANDLE must have a format that supports the sample count
specified in rasterizationSamples
Valid Usage (Implicit)
VUID-VkMultisampledRenderToSingleSampledInfoEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT
VUID-VkMultisampledRenderToSingleSampledInfoEXT-rasterizationSamples-parameter
rasterizationSamples
must be a valid VkSampleCountFlagBits value