workgroupBarrier
함수
Waits until every invocation of the workgroup has reached this line, and makes every write to workgroup memory before it visible to every invocation after it.
이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function workgroupBarrier(): void반환값
void
설명
A statement, in a compute entry or a helper and never inside an if or switch. WGSL only; the CPU oracle runs the workgroup in lockstep through dispatch.
대상별 출력
- WGSL
-
workgroupBarrier() - GLSL ES 3.00
- workgroupBarrier has no GLSL ES 3.00 spelling (no compute stage)