Structures
VkColorBlendAdvancedEXT
Structure specifying the advanced blend operation parameters for an attachment
The VkColorBlendAdvancedEXT structure is defined as:
typedef struct VkColorBlendAdvancedEXT {
VkBlendOp advancedBlendOp;
VkBool32 srcPremultiplied;
VkBool32 dstPremultiplied;
VkBlendOverlapEXT blendOverlap;
VkBool32 clampResults;
} VkColorBlendAdvancedEXT;
advancedBlendOpselects which blend operation is used to calculate the RGB values to write to the color attachment.srcPremultipliedspecifies whether the source color of the blend operation is treated as premultiplied.dstPremultipliedspecifies whether the destination color of the blend operation is treated as premultiplied.blendOverlapis a VkBlendOverlapEXT value specifying how the source and destination sample’s coverage is correlated.clampResultsspecifies that results must be clamped to the [0,1] range before writing to the attachment, which is useful when the attachment format is not normalized fixed-point.
Valid Usage
VUID-VkColorBlendAdvancedEXT-srcPremultiplied-07505
If the non-premultiplied
source color property is not supported, srcPremultiplied must
be VK_TRUE
VUID-VkColorBlendAdvancedEXT-dstPremultiplied-07506
If the non-premultiplied
destination color property is not supported, dstPremultipliedmust be VK_TRUE
VUID-VkColorBlendAdvancedEXT-blendOverlap-07507
If the correlated overlap
property is not supported, blendOverlap must be
VK_BLEND_OVERLAP_UNCORRELATED_EXT
Valid Usage (Implicit)
VUID-VkColorBlendAdvancedEXT-advancedBlendOp-parameter
advancedBlendOp must be a valid VkBlendOp value
VUID-VkColorBlendAdvancedEXT-blendOverlap-parameter
blendOverlap must be a valid VkBlendOverlapEXT value