mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
765c20235e
This change uses `include_wgsl!(…)` in usages where an `include_str!("….wgsl")` was used to construct a `ShaderModuleDescriptor`'s `source, but the `label` was set to `None`. This should (1) showcase a nice idiomatic convenience we offer in our examples better, (2) make code more concise, and (3) get some automatically generated labels in diagnostics where it seems it won't hurt. |
||
---|---|---|
.. | ||
images | ||
models | ||
mod.rs | ||
README.md | ||
screenshot_astc.png | ||
screenshot_bc7.png | ||
screenshot_etc2.png | ||
screenshot.png | ||
shader.wgsl |