Skip to main content

Module shaders

Module shaders 

Source
Expand description

WGSL shader sources embedded in the Qualia WASM binary and canonical Etalon shader registry (RM-03).

  • Root (*.wgsl) — U0/U1 compute (LLM, tensor query, physics/HUD)
  • wasm/ — copies of WASM LLM inference shaders (fused attention/FFN/transformer, GEMV, dequant, top-K, ternary, LoRA)
  • viewport/ — U2 display (retired RM-03 (R) and re-exported directly from [etalon_render::shaders])

Canonical etalon_nquin and etalon_render shader constants are exposed here with compile-time and unit-tested byte-for-byte parity guarantees.

Modules§

viewport
Viewport WGSL shader source catalog (RM-03 retired to etalon_render::shaders).

Constants§

EMF_VOLUMETRIC_STOKES_WGSL
Canonical 64-byte Stokes v2 EMF volumetric shader from [etalon_render::emf].
EMF_VOLUMETRIC_WGSL
Canonical 4D EMF volumetric slice shader from [etalon_render::shaders].
GEMM_SUBSTRATE_WGSL
Canonical GEMM substrate compute shader.
GRAPH_RADIX_HIST_WGSL
Canonical graph radix histogram compute shader.
GRAPH_RADIX_SCATTER_WGSL
Canonical graph radix scatter compute shader.
GRAPH_SIEVE_FIELD_WGSL
Canonical graph sieve field compute shader.
HOLOGRAPHIC_STANDALONE_WGSL
Canonical standalone volumetric Holographic shader from [etalon_render::volumetric].
HOLOGRAPHIC_WGSL
Canonical composite Holographic 3D semantic graph shader (spectral.wgsl + holographic.wgsl) from [etalon_render::shaders].
HUD_GLASS_BLUR_WGSL
NQUIN_WARP_SCAN_WGSL
Canonical 48-byte NQuinWire warp-scan sieve compute shader from [etalon_nquin].
PGA_SCLERP_EVAL_WGSL
SIEVE_WGSL
Legacy 27-word bitmask sieve compute shader retained for platform::npu_ffi compatibility.
SPRING_DAMPER_GRID_WGSL
TOPK_REDUCTION_WGSL
Canonical top-K reduction compute shader.
WAVE_INTERFERENCE_WGSL

Functions§

canonical_emf_volumetric_wgsl
Return the canonical etalon_render::shaders::EMF_VOLUMETRIC_WGSL source.
canonical_holographic_wgsl
Return the canonical etalon_render::shaders::HOLOGRAPHIC_WGSL source.
canonical_nquin_warp_scan_wgsl
Return the canonical [etalon_nquin::NQUIN_WARP_SCAN_WGSL] source.
canonical_shader_source
Zero-heap lookup of a canonical shader source by logical registry name.