SPIR-V Built-In
TileDimensionQCOM
Tile offset of a shader invocation
TileDimensionQCOM
The TileDimensionQCOM decoration can be applied to a shader input
which will be filled with the width and height of the active tile.
When per-tile execution model is enabled, for
the current shader invocation x and y components of
TileDimensionQCOM reflect the with and height of the tile corresponding
to the shader invocation.
Otherwise, the x and y components of TileDimensionQCOM are
filled with (0,0).
Valid Usage
VUID-TileDimensionQCOM-TileDimensionQCOM-10629
The TileDimensionQCOM decoration must be used only within the
Fragment Execution Model or GLCompute Execution Model.
VUID-TileDimensionQCOM-TileDimensionQCOM-10630
The variable decorated with TileDimensionQCOM must be declared
using the Input Storage Class
VUID-TileDimensionQCOM-TileDimensionQCOM-10631
The variable decorated with TileDimensionQCOM must be declared as
a two-component vector of 32-bit integer values