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 and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

type workgroup<T> = T

Parameters

  • T

Description

WGSL var<workgroup>; GLSL ES 3.00 has no form for it.

Examples

See also

Edit this page Report a problem