Skip to main content

vulkane_kernels_source/
lib.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2//! # vulkane-kernels-source
3//!
4//! Home for the GLSL GPU kernel sources (`.glsl`) and the `compile.sh`
5//! script that turns them into SPIR-V. Moved from Fuel's `fuel-kernels-source`
6//! with its git history; see `README.md` and `THIRD-PARTY-NOTICES.md`. The Slang
7//! kernels moved to FishStringer's `fishstringer-kernels-source` (CireSnave, 2026-11-06).
8//!
9//! This crate intentionally has no Rust code. Consumers read the sources from
10//! the published package (`kernels/`) and build or embed SPIR-V themselves.
11//!
12//! ## Layout
13//!
14//! - `kernels/*.glsl` — GLSL sources, kept where GLSL is more ergonomic
15//!   (e.g. cooperative-matrix matmul).
16//! - `kernels/compile.sh [--out-dir DIR] [files...]` — ahead-of-time compiler
17//!   invocation; SPIR-V goes to `DIR` (default: `spv/` next to `kernels/`).