workgroupUniformLoad
함수
Reads one value out of workgroup memory with a barrier on each side, so every invocation of the workgroup gets the same one.
이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function workgroupUniformLoad<T>(w: T): T매개변수
-
wT
반환값
T
설명
Takes a place in workgroup<T> memory, not storage, and returns its type. WebGPU-only, and it carries a barrier's placement rules: a compute entry or a function it calls, in uniform control flow.
대상별 출력
- WGSL
-
workgroupUniformLoad(&a) - GLSL ES 3.00
- workgroupUniformLoad has no GLSL ES 3.00 spelling (no compute stage)