Expand description
WGSL compute shader compiler and WebGPU execution runtime.
Provides the AST-to-WGSL translation pass and the wgpu buffer dispatch logic for executing JIT compiled expressions on the GPU.
Structs§
- Cached
Pipeline - Holds compiled GPU resources together to prevent recreation and layout mismatch overhead.
- GpuExecutor
- A high-performance WebGPU compute execution context with dynamic buffer pooling and pipeline caching.
Functions§
- compile_
to_ wgsl - JIT compiles the given AST projection into a fully-functional WebGPU WGSL compute shader.