workgroup
On this page

workgroup

Type

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.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

Syntax

type workgroup<T> = T

Parameters

  • T

Description

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).

Examples

See also

Edit this page Report a problem