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.
- Each shader is defined as a bin crate and is compiled separately, see build.rs using spirv-builder