bevy
bevy copied to clipboard
Allow SPIR-V shaders to process when shader defs are present
Objective
- Prevent SPIR-V shaders from being rejected when shader defines are present.
Solution
- Have ShaderProcessor behave as a passthrough with respect to SPIR-V shaders.
Fixes #7771
Welcome, new contributor!
Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨
Any chance of that review, @superdump?
If this relatively small change ends up merged, Bevy Rust-GPU will be a step closer to providing a WGSL-comparable workflow for rust-gpu shader crates in mainline bevy.
This is super important for a (edit: Spirv utilizing) subset of bevy users and we need a solution.