SPIR-V Built-In

TileApronSizeQCOM

Tile apron size of a shader invocation
TileApronSizeQCOM

The TileApronSizeQCOM decoration can be applied to a shader input which will be filled with the width and height of the active tile’s apron.

If per-tile execution model is enabled for the current shader invocation, and is executing in a dynamic render pass or is executing in a subpass where VK_SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM is included in its flags, x and y components of TileApronSizeQCOM reflect the with and height of the tile apron corresponding to the shader invocation.

Otherwise, the x and y components of TileApronSizeQCOM are filled with (0,0).

Valid Usage

VUID-TileApronSizeQCOM-TileApronSizeQCOM-10632

The TileApronSizeQCOM decoration must be used only within the Fragment Execution Model or GLCompute Execution Model.

VUID-TileApronSizeQCOM-TileApronSizeQCOM-10633

The variable decorated with TileApronSizeQCOM must be declared using the Input Storage Class

VUID-TileApronSizeQCOM-TileApronSizeQCOM-10634

The variable decorated with TileApronSizeQCOM must be declared as a two-component vector of 32-bit integer values