WorkgroupShape
Type in IR
The x, y and z extents of a compute entry's workgroup, WGSL's @workgroup_size(x, y, z).
import type { WorkgroupShape } from 'typeshade'import type { WorkgroupShape } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
type WorkgroupShape = readonly [number, number, number];Source
src/core/ir/nodes/entry-and-directive.ts, line 12, at commit af54ddad5