gfx-rs / wgpu-rs

Rust bindings to wgpu native library
https://wgpu.rs
Mozilla Public License 2.0
1.69k stars 186 forks source link

Add include_wgsl!() macro #922

Closed WindowsVista42 closed 3 years ago

WindowsVista42 commented 3 years ago

Adds include_wgsl!() macro. I'm not sure if there needs to be further validation like what include_spirv!() does, but this seems to do the right thing. Closes #906