C Specification
The type VkCoarseSampleOrderTypeNV specifies the technique used to order coverage samples in fragments larger than one pixel, and is defined as:
// Provided by VK_NV_shading_rate_image
typedef enum VkCoarseSampleOrderTypeNV {
VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV = 0,
VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV = 1,
VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV = 2,
VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV = 3,
} VkCoarseSampleOrderTypeNV;
Description
-
VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV
specifies that coverage samples will be ordered in an implementation-dependent manner. -
VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV
specifies that coverage samples will be ordered according to the array of custom orderings provided in either thepCustomSampleOrders
member ofVkPipelineViewportCoarseSampleOrderStateCreateInfoNV
or thepCustomSampleOrders
member of vkCmdSetCoarseSampleOrderNV. -
VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV
specifies that coverage samples will be ordered sequentially, sorted first by pixel coordinate (in row-major order) and then by sample index. -
VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV
specifies that coverage samples will be ordered sequentially, sorted first by sample index and then by pixel coordinate (in row-major order).
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.