pub fn global_thread_id() -> i32
Get the global thread ID (x-component). Maps to global_invocation_id.x in WGSL.
global_invocation_id.x