mirror of
https://github.com/bevyengine/bevy
synced 2025-01-05 09:48:55 +00:00
081350916c
### Problem - shader processing errors are not displayed - during hot reloading when encountering a shader with errors, the whole app crashes ### Solution - log `error!`s for shader processing errors - when `cfg(debug_assertions)` is enabled (i.e. you're running in `debug` mode), parse shaders before passing them to wgpu. This lets us handle errors early. |
||
---|---|---|
.. | ||
bind_group.rs | ||
bind_group_layout.rs | ||
buffer.rs | ||
buffer_vec.rs | ||
mod.rs | ||
pipeline.rs | ||
pipeline_cache.rs | ||
pipeline_specializer.rs | ||
shader.rs | ||
texture.rs | ||
uniform_vec.rs |