bevy/crates/bevy_render/src/render_resource
Jakob Hellermann 081350916c report shader processing errors in RenderPipelineCache (#3289)
### 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.
2021-12-22 22:16:42 +00:00
..
bind_group.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bind_group_layout.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
buffer.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
buffer_vec.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
mod.rs Only bevy_render should depend directly on wgpu (#3393) 2021-12-20 20:50:52 +00:00
pipeline.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
pipeline_cache.rs report shader processing errors in RenderPipelineCache (#3289) 2021-12-22 22:16:42 +00:00
pipeline_specializer.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
shader.rs report shader processing errors in RenderPipelineCache (#3289) 2021-12-22 22:16:42 +00:00
texture.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
uniform_vec.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00