Skip to main content

Module contract

Module contract 

Source
Expand description

Phenomenal viewport CI contract — WGSL bindings, binary layout, and regression oracles.

Run via cargo test -p qualia-core-db render::contract::tests::phenomenal_ --lib or node docs/tests/phenomenal-verify.mjs.

Constants§

AMBIENT_GROUP0_BINDINGS
Rust ambient layout — binding 4 is reserved for ObserverStandpoint (not yet in WGSL).
BLOOM_GROUP0_BINDINGS
PROJECTOR_GROUP0_BINDINGS
Rust portal_gpu projector camera bind group (group 0).
PROJECTOR_GROUP1_BINDINGS
Rust portal_gpu projector tensor SOA bind group (group 1).

Functions§

assert_wgsl_bindings_covered
Every WGSL-declared binding must exist in the Rust bind-group layout manifest.
parse_wgsl_bindings
Parse @group(G) @binding(B) declarations from WGSL source lines.