rust-gpu-wgpu-compute-minimal
rust-gpu-wgpu-compute-minimal copied to clipboard
Minimal rust-gpu compute shader example running on WGPU backend with Vulkan support
Minimal Compute Shader Project
Uses rust-gpu to compile shader into SPIR-V, which is then submitted by the wgpu backend running in Vulkan compatibility mode. Requires MoltenVK for compatibility with Metal on macOs.
See also pema99/rust-gpu-compute-example and rust-gpu/examples.
Notes
- Each shader is defined as a bin crate and is compiled separately, see build.rs using spirv-builder