C Specification
To enable tile shading for a render pass object, add a
VkRenderPassTileShadingCreateInfoQCOM to the pNext chain of
VkRenderPassCreateInfo
or VkRenderPassCreateInfo2
.
To enable tile shading for a dynamic render pass, add a
VkRenderPassTileShadingCreateInfoQCOM to the pNext chain of
VkRenderingInfo.
To execute a secondary command buffer within a render pass, add a
VkRenderPassTileShadingCreateInfoQCOM to the pNext chain of
VkCommandBufferInheritanceInfo when the secondary command buffer is
recorded.
The VkRenderPassTileShadingCreateInfoQCOM structure is defined as:
// Provided by VK_QCOM_tile_shading
typedef struct VkRenderPassTileShadingCreateInfoQCOM {
VkStructureType sType;
const void* pNext;
VkTileShadingRenderPassFlagsQCOM flags;
VkExtent2D tileApronSize;
} VkRenderPassTileShadingCreateInfoQCOM;
Members
-
sTypeis a VkStructureType value identifying this structure -
pNextisNULLor a pointer to a structure extending this structure. -
flagsis a bitmask of VkTileShadingRenderPassFlagBitsQCOM. -
tileApronSizeis a VkExtent2D describing the is size of the tiling apron in each dimension.
Description
If this structure is not present, the render pass will have flags set
to 0 and tileApronSize is set to (0,0).
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.