VkPipelineColorBlendAdvancedStateCreateInfoEXT
If the pNext
chain of VkPipelineColorBlendStateCreateInfo
includes a VkPipelineColorBlendAdvancedStateCreateInfoEXT
structure,
then that structure includes parameters that affect advanced blend
operations.
The VkPipelineColorBlendAdvancedStateCreateInfoEXT
structure is
defined as:
typedef struct VkPipelineColorBlendAdvancedStateCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkBool32 srcPremultiplied;
VkBool32 dstPremultiplied;
VkBlendOverlapEXT blendOverlap;
} VkPipelineColorBlendAdvancedStateCreateInfoEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.srcPremultiplied
specifies whether the source color of the blend operation is treated as premultiplied.dstPremultiplied
specifies whether the destination color of the blend operation is treated as premultiplied.blendOverlap
is a VkBlendOverlapEXT value specifying how the source and destination sample’s coverage is correlated.
If this structure is not present, srcPremultiplied
and
dstPremultiplied
are both considered to be VK_TRUE
, and
blendOverlap
is considered to be
VK_BLEND_OVERLAP_UNCORRELATED_EXT
.
Valid Usage
VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-srcPremultiplied-01424
If the non-premultiplied
source color property is not supported, srcPremultiplied
must
be VK_TRUE
VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-dstPremultiplied-01425
If the non-premultiplied
destination color property is not supported, dstPremultiplied
must be VK_TRUE
VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-blendOverlap-01426
If the correlated overlap
property is not supported, blendOverlap
must be
VK_BLEND_OVERLAP_UNCORRELATED_EXT
Valid Usage (Implicit)
VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT
VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-blendOverlap-parameter
blendOverlap
must be a valid VkBlendOverlapEXT value