SPIR-V Built-In

WarpMaxIDARM

Max ID for a warp on the core running a shader invovation
WarpMaxIDARM

Decorating a variable with the WarpMaxIDARM built-in decoration will make that variable contain the maximum warp ID for the core on which the current invocation is running.

Valid Usage

VUID-WarpMaxIDARM-WarpMaxIDARM-07601

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

VUID-WarpMaxIDARM-WarpMaxIDARM-07602

The variable decorated with WarpMaxIDARM must be declared as a scalar 32-bit integer value