Expand description
Naga IR emitter for vyre KernelDescriptor.
Consumes a substrate-neutral vyre_lower::KernelDescriptor and
produces a naga::Module. The emitter owns only Naga construction;
descriptor shaping and substrate-neutral analyses stay in
vyre-lower.
Re-exports§
pub use vyre_lower;
Modules§
- patterns
- Naga-specific emit-time patterns.
- program
- Compatibility helpers for legacy Program-shaped Naga callers.
Structs§
Enums§
Functions§
- emit
- Emit a
naga::Modulefrom aKernelDescriptor. - emit_
many - Emit many independent descriptors exactly as provided.
- emit_
many_ optimized - Emit many independent descriptors after running the canonical lower rewrite pipeline on each descriptor.
- emit_
optimized - Emit a
naga::Modulefrom aKernelDescriptorafter running the fullvyre_lower::rewrites::run_alloptimization pipeline. - emit_
optimized_ with_ stats - Like
emit_optimizedbut also returnsvyre_lower::rewrites::OptimizationStatsso the caller can see what the rewrite stack did (op count delta, bindings dropped, fixed-point iterations needed). No duplicate work -emit_optimizedis now a thin wrapper around this.