workgroup
이 페이지에서

workgroup

타입

A module variable one workgroup shares, let tile: workgroup<array<f32, 64>>: zero at the start of each workgroup, read and written by every invocation of the workgroup, and a compute entry's alone.

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

구문

type workgroup<T> = T

매개변수

  • T

설명

WGSL var<workgroup>; its GLSL lowering in a render entry is not supported yet (Rule 10.5), and a @compute entry that reaches no texture runs on WebGL2 as its pass program, which holds the workgroup memory as layers (Rule 8.24, Rule 11.8).

예제

함께 보기

이 페이지 편집 문제 보고