cargo-wgsl
cargo-wgsl copied to clipboard
Support/ignore `naga-oil`/preprocessor directives
directives like #import bevy_pbr::mesh_vertex_output MeshVertexOutput currently cause errors which is extremely annoying!
@PolyMeilex would you accept a PR for this? naga_oil is much easier to integrate into cargo-wgsl (and vscode-wgsl) than into wgsl-analyzer, and it would be nice if there was some solution for users of bevy 0.12
@PolyMeilex would you accept a PR for this? naga_oil is much easier to integrate into cargo-wgsl (and vscode-wgsl) than into wgsl-analyzer, and it would be nice if there was some solution for users of bevy 0.12
Yep, I'm totally fine with it