C Specification
If a pipeline state object is created with
VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR enabled, the pipeline
fragment shading rate and combiner operation may be set by the command:
// Provided by VK_NV_fragment_shading_rate_enums
void vkCmdSetFragmentShadingRateEnumNV(
VkCommandBuffer commandBuffer,
VkFragmentShadingRateNV shadingRate,
const VkFragmentShadingRateCombinerOpKHR combinerOps[2]);
Parameters
-
commandBufferis the command buffer into which the command will be recorded. -
shadingRatespecifies a VkFragmentShadingRateNV enum indicating the pipeline fragment shading rate for subsequent draw commands. -
combinerOpsspecifies a VkFragmentShadingRateCombinerOpKHR determining how the pipeline, primitive, and attachment shading rates are combined for fragments generated by subsequent drawing commands.
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.