@builtin("local_invocation_id")
On this page

@builtin("local_invocation_id")

Builtin value

The current invocation's id within its workgroup, as a 3-component vector.

Valid in
compute input

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

Syntax

@builtin("local_invocation_id"): vec3<u32>

Examples

See also

Edit this page Report a problem