PACKED_4X8_LANGUAGE_FEATURE
Constant in Backends
The WGSL language feature a module using PACKED_4X8_IDS depends on, as navigator.gpu.wgslLanguageFeatures names it.
import { PACKED_4X8_LANGUAGE_FEATURE } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const PACKED_4X8_LANGUAGE_FEATURE: "packed_4x8_integer_dot_product"Description
Not an extension: measured on Tint,
enable packed_4x8_integer_dot_product; is refused (“expected extension”) while the calls
compile bare, so there is no directive to emit and the check belongs at the host.
See also
Source
src/core/intrinsics.ts, line 238, at commit 26de7be8