pub fn thread_idx_x() -> i32
Get the x-component of the local thread index within the workgroup. Maps to local_invocation_id.x in WGSL.
local_invocation_id.x