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.
219,980lines of Rust
4,523test functions
920files
21crates
Tier: foundation
Capabilities
| Category | Primitives |
|---|---|
| Compiler | WGSL → SPIR-V → SASS (SM70-SM89), AMD RDNA2 (GFX1030), full f64 lowering |
| Transcendentals | exp2, log2, sin, cos, sqrt, rcp — instruction-level emission with FMA policy |
| Driver | coralDriver userspace GPU dispatch via DRM ioctl (amdgpu, nouveau/nvidia-drm) |
| Stubs | Pure 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