vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
//! Public module for the `workgroup.queue_priority` intrinsic.
//!
//! The primitive is split into two stable layers: [`spec`] owns the
//! operation descriptor and CPU reference semantics, while [`lowering`]
//! owns the WGSL shader handle consumed by backend loaders.
//!
//! Public consumers should import types from this module root. The root
//! re-exports the spec layer so existing call sites keep using paths
//! such as `workgroup::queue_priority::SPEC` and CPU oracle types
//! without depending on file layout.
//!
//! The adjacent `.wgsl` asset is intentionally outside the Rust module
//! graph because shader loaders use it as a byte-for-byte test fixture
//! as well as backend input.
//!
//! This file is deliberately small but not generated residue: it is the
//! stable boundary for the primitive's public Rust API.
//! The concrete CPU oracle remains swappable through the spec module.
//! The backend source remains swappable through the lowering module.
//! Tests import the public root to guard that boundary.

pub mod lowering;
pub mod spec;

pub use spec::{
    wgsl_only, PriorityError, PriorityItem, WorkgroupPriorityQueue, INPUTS, LAWS, OUTPUTS, SPEC,
};

#[cfg(test)]
mod tests;