@builtin("subgroup_id")
내장 값
The current subgroup's index within its workgroup.
- 쓰이는 곳
- 컴퓨트 입력
시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.
구문
@builtin("subgroup_id"): u32
설명
Compute stage only; on the CPU oracle and on WebGL2 a subgroup is one invocation, so it is the local invocation index.