ALL_CAPABILITIES
Constant in IR
Every Capability, as a runtime value: the list a capability matrix, a doc generator or a coverage check iterates.
import { ALL_CAPABILITIES } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const ALL_CAPABILITIES: readonly ["storageBuffer", "compute", "msaaTextureLoad", "storageTexture", "texture1d", "textureCubeArray", "textureGather", "f16", "subgroups", "clipDistances", "primitiveIndex", "dualSourceBlending", "floatRenderTarget", "float32Blend", "float32Filterable", "multiview", "bgra8unormStorage", "packed4x8Dot"]Description
A union type has no runtime form, so the list
is written out, and the satisfies clause keeps it in step with the union.
See also
Source
src/core/ir/nodes.ts, line 747, at commit 26de7be8