@builtin("global_invocation_id")
On this page

@builtin("global_invocation_id")

Builtin value

The current invocation's id across the entire compute dispatch.

Valid in
compute input

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

Syntax

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

Examples

See also

Edit this page Report a problem