bevy/crates/bevy_render/src/render_resource
sark ca029ef0eb Naga export (#3714)
# Objective

In order to create a glsl shader, we must provide the `naga::ShaderStage` type which is not exported by bevy, meaning a user would have to manually include naga just to access this type.

`pub fn from_glsl(source: impl Into<Cow<'static, str>>, stage: naga::ShaderStage) -> Shader {`

## Solution

Re-rexport naga::ShaderStage from `render_resources`
2022-01-31 00:32:47 +00:00
..
bind_group_layout.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bind_group.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
buffer_vec.rs Add 2d meshes and materials (#3460) 2022-01-08 01:29:08 +00:00
buffer.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
mod.rs Naga export (#3714) 2022-01-31 00:32:47 +00:00
pipeline_cache.rs fix shader compilation error reporting for non-wgsl shaders (#3441) 2021-12-29 21:04:27 +00:00
pipeline_specializer.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
pipeline.rs Fix doc_markdown lints in bevy_render (#3479) 2022-01-09 11:09:46 +00:00
shader.rs support all line endings in shader preprocessor (#3603) 2022-01-09 18:52:18 +00:00
texture.rs Fix doc_markdown lints in bevy_render (#3479) 2022-01-09 11:09:46 +00:00
uniform_vec.rs Prepare crevice for vendored release (#3394) 2021-12-23 22:49:12 +00:00