@builtin("local_invocation_index")
On this page

@builtin("local_invocation_index")

Builtin value

The current invocation's flattened index within its workgroup.

Valid in
compute input

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

Syntax

@builtin("local_invocation_index"): u32

Examples

See also

Edit this page Report a problem