C Specification

The VkPipelineFragmentShadingRateEnumStateCreateInfoNV structure is defined as:

// Provided by VK_NV_fragment_shading_rate_enums
VkStructureType                       sType;
const void*                           pNext;
} VkPipelineFragmentShadingRateEnumStateCreateInfoNV;

Description

If the pNext chain of VkGraphicsPipelineCreateInfo includes a VkPipelineFragmentShadingRateEnumStateCreateInfoNV structure, then that structure includes parameters that control the pipeline fragment shading rate.

If this structure is not present, shadingRateType is considered to be equal to VK_FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV, shadingRate is considered to be equal to VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV, and both elements of combinerOps are considered to be equal to VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR.

Valid Usage (Implicit)
sType must be VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV

shadingRateType must be a valid VkFragmentShadingRateTypeNV value

shadingRate must be a valid VkFragmentShadingRateNV value

Any given element of combinerOps must be a valid VkFragmentShadingRateCombinerOpKHR value