C Specification
When shading rate image usage is enabled in the bound pipeline, the pipeline uses a shading rate image specified by the command:
// Provided by VK_NV_shading_rate_image
void vkCmdBindShadingRateImageNV(
VkCommandBuffer commandBuffer,
VkImageView imageView,
VkImageLayout imageLayout);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
imageView
is an image view handle specifying the shading rate image.imageView
may be set to VK_NULL_HANDLE, which is equivalent to specifying a view of an image filled with zero values. -
imageLayout
is the layout that the image subresources accessible fromimageView
will be in when the shading rate image is accessed.
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.