When invocation mask image usage is enabled in the bound ray tracing pipeline, the pipeline uses an invocation mask image specified by the command:
// Provided by VK_HUAWEI_invocation_mask void vkCmdBindInvocationMaskHUAWEI( VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout);
commandBufferis the command buffer into which the command will be recorded
imageViewis an image view handle specifying the invocation mask image
imageViewmay be set to VK_NULL_HANDLE, which is equivalent to specifying a view of an image filled with ones value.
imageLayoutis the layout that the image subresources accessible from
imageViewwill be in when the invocation mask image is accessed
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.