In addition to the API support controlling rasterization, this extension also adds Vulkan support for the SPV_NV_shading_rate extension to SPIR-V. That extension provides two fragment shader variable decorations that allow fragment shaders to determine the shading rate used for processing the fragment:
FragmentSizeNV, which indicates the width and height of the set of pixels processed by the fragment shader.InvocationsPerPixel, which indicates the maximum number of fragment shader invocations that could be spawned for the pixel(s) covered by the fragment.When using SPIR-V in conjunction with the OpenGL Shading Language (GLSL), the fragment shader capabilities are provided by the GL_NV_shading_rate_image language extension and correspond to the built-in variables gl_FragmentSizeNV and gl_InvocationsPerPixelNV, respectively.
VK_NV_shading_rate_imageVK_KHR_get_physical_device_properties2SPV_NV_shading_rateGL_NV_shading_rate_image| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV
Extends |
| public static final int | VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV
VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
|
| public static final int | VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV
VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
|
| public static final int | VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV
VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
|
| public static final int | VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV
VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
|
| public static final int | VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV
Extends |
| public static final int | VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV
Extends |
| public static final int | VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV
Extends |
| public static final int | VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV
Extends |
| public static final String | VK_NV_SHADING_RATE_IMAGE_EXTENSION_NAME
The extension name. |
| public static final int | VK_NV_SHADING_RATE_IMAGE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV
Extends |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV
VkShadingRatePaletteEntryNV - Shading rate image palette entry types Description The following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV
Extends |
| public static final int | VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV
Extends |
| public static final int | VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | nvkCmdSetCoarseSampleOrderNV(VkCommandBuffer commandBuffer, int sampleOrderType, int
specifies the number of custom sample orderings to use when ordering coverage samples. customSampleOrderCount, long pCustomSampleOrders)Unsafe version of: |
| public static void | nvkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer commandBuffer, int firstViewport, int
the number of viewports whose shading rate palettes are updated by the command. viewportCount, long pShadingRatePalettes)Unsafe version of: |
| public static void | vkCmdBindShadingRateImageNV(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, long an image view handle specifying the shading rate image. imageView, int imageView may be set to NULL_HANDLE, which is equivalent to specifying a view of an image filled with zero values.the layout that the image subresources accessible from imageLayout)imageView will be in when the shading rate image is accessed.Bind a shading rate image on a command buffer. |
| public static void | vkCmdSetCoarseSampleOrderNV(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, int specifies the mechanism used to order coverage samples in fragments larger than one pixel. sampleOrderType, VkCoarseSampleOrderCustomNV.a pointer to an array of pCustomSampleOrdersVkCoarseSampleOrderCustomNV structures, each structure specifying the coverage sample order for a single combination of fragment area and coverage sample count.Set order of coverage samples for coarse fragments dynamically for a command buffer. |
| public static void | vkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, int the index of the first viewport whose shading rate palette is updated by the command. firstViewport, VkShadingRatePaletteNV.a pointer to an array of pShadingRatePalettesVkShadingRatePaletteNV structures defining the palette for each viewport.Set shading rate image palettes dynamically for a command buffer. |
| VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV | back to summary |
|---|---|
| public static final int VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV Extends | |
| VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV | back to summary |
|---|---|
| public static final int VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
See Also
| |
| VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV | back to summary |
|---|---|
| public static final int VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
See Also
| |
| VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV | back to summary |
|---|---|
| public static final int VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
See Also
| |
| VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV | back to summary |
|---|---|
| public static final int VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV VkCoarseSampleOrderTypeNV - Shading rate image sample ordering types Description
See Also
| |
| VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV | back to summary |
|---|---|
| public static final int VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV Extends Enum values: | |
| VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV | back to summary |
|---|---|
| public static final int VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV Extends Enum values: | |
| VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV | back to summary |
|---|---|
| public static final int VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV Extends | |
| VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV | back to summary |
|---|---|
| public static final int VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV Extends | |
| VK_NV_SHADING_RATE_IMAGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_NV_SHADING_RATE_IMAGE_EXTENSION_NAME The extension name. | |
| VK_NV_SHADING_RATE_IMAGE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_NV_SHADING_RATE_IMAGE_SPEC_VERSION The extension specification version. | |
| VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV | back to summary |
|---|---|
| public static final int VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV Extends | |
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV | back to summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final int VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV VkShadingRatePaletteEntryNV - Shading rate image palette entry types DescriptionThe following table indicates the width and height (in pixels) of each fragment generated using the indicated shading rate, as well as the maximum number of fragment shader invocations launched for each fragment. When processing regions of a primitive that have a shading rate of
See Also | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV Extends Enum values: | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV Extends Enum values: | |
| VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV Extends Enum values: | |
| VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV Extends Enum values: | |
| NVShadingRateImage | back to summary |
|---|---|
| protected NVShadingRateImage() | |
| nvkCmdSetCoarseSampleOrderNV | back to summary |
|---|---|
| public static void nvkCmdSetCoarseSampleOrderNV(VkCommandBuffer commandBuffer, int sampleOrderType, int customSampleOrderCount, long pCustomSampleOrders) Unsafe version of:
| |
| nvkCmdSetViewportShadingRatePaletteNV | back to summary |
|---|---|
| public static void nvkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer commandBuffer, int firstViewport, int viewportCount, long pShadingRatePalettes) Unsafe version of:
| |
| vkCmdBindShadingRateImageNV | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void vkCmdBindShadingRateImageNV(VkCommandBuffer commandBuffer, long imageView, int imageLayout) Bind a shading rate image on a command buffer. C SpecificationWhen shading rate image usage is enabled in the bound pipeline, the pipeline uses a shading rate image specified by the command:
Valid Usage
Valid Usage (Implicit)
Host Synchronization
Command Properties
| |||||||||||
| vkCmdSetCoarseSampleOrderNV | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void vkCmdSetCoarseSampleOrderNV(VkCommandBuffer commandBuffer, int sampleOrderType, VkCoarseSampleOrderCustomNV. Set order of coverage samples for coarse fragments dynamically for a command buffer. C SpecificationTo dynamically set the order of coverage samples in fragments larger than one pixel, call:
DescriptionIf This command sets the order of coverage samples for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with Valid Usage
Valid Usage (Implicit)
Host Synchronization
Command Properties
See Also
| |||||||||||
| vkCmdSetViewportShadingRatePaletteNV | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void vkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer commandBuffer, int firstViewport, VkShadingRatePaletteNV. Set shading rate image palettes dynamically for a command buffer. C SpecificationTo dynamically set the per-viewport shading rate image palettes, call:
DescriptionThis command sets the per-viewport shading rate image palettes for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with Valid Usage
Valid Usage (Implicit)
Host Synchronization
Command Properties
See Also
| |||||||||||