ShadingRateKHR(3)

Name

ShadingRateKHR - Shading rate of a fragment

Description

ShadingRateKHR

Decorating a variable with the ShadingRateKHR built-in decoration will make that variable contain the fragment shading rate for the current fragment invocation.

Valid Usage
  • VUID-ShadingRateKHR-ShadingRateKHR-04490
    The ShadingRateKHR decoration must be used only within the Fragment Execution Model

  • VUID-ShadingRateKHR-ShadingRateKHR-04491
    The variable decorated with ShadingRateKHR must be declared using the Input Storage Class

  • VUID-ShadingRateKHR-ShadingRateKHR-04492
    The variable decorated with ShadingRateKHR must be declared as a scalar 32-bit integer value

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification (NOTE: cannot determine Specification page containing this refpage).

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.