coralReef

Shader compilation

Sovereign GPU compiler � WGSL/SPIR-V/GLSL to native GPU binaries. No LLVM, no Mesa, no vendor SDK. Full f64 transcendental support for NVIDIA SM70-SM89 and AMD RDNA2.

126,859lines of Rust
3,088test functions
457files
9crates

ecoPrimals/coralReef

Tier: foundation

Capabilities

Capability categories and primitives for coralReef
CategoryPrimitives
CompilerWGSL ? SPIR-V ? SASS (SM70-SM89), AMD RDNA2 (GFX1030), full f64 lowering
Transcendentalsexp2, log2, sin, cos, sqrt, rcp � instruction-level emission with FMA policy
DrivercoralDriver userspace GPU dispatch via DRM ioctl (amdgpu, nouveau/nvidia-drm)
StubsPure Rust CFG, BitSet, dataflow, SmallVec, fxhash � zero external deps in compiler core

Composes Into

Sovereign Compute Pipeline (barraCuda ? coralReef ? native binary ? ToadStool ? hardware), Node Atomic, NUCLEUS

Pure RustAGPL-3.0Zero C depsFoundation tier

Connections

Outbound

Inbound

Referenced in 53 pages