bevy/crates/bevy_render/src/pipeline
Jonas Matser bfd15d2d4b Fixes incorrect PipelineCompiler::compile_pipeline() step_mode (#2126)
There's what might be considered a proper bug in `PipelineCompiler::compile_pipeline()`, where it overwrites the `step_mode` for the passed in `VertexBufferLayout` with `InputStepMode::Vertex`. Due to this some ugly workarounds are needed to do any kind of instancing.

In the somewhat longer term, `PipelineCompiler::compile_pipeline()` should probably also handle a `Vec<VertexBufferLayout>`, but that would be a (slightly) larger PR, rather than a bugfix. And I'd love to have this fix in sooner than we can deal with a bigger PR.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-05-07 00:28:35 +00:00
..
bind_group.rs Switch usage of std HashMap/HashSet default hasher, to aHash algo (#258) 2020-08-28 17:08:51 -07:00
binding.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
mod.rs enforce clippy for all target and features 2020-08-16 07:20:06 -07:00
pipeline_compiler.rs Fixes incorrect PipelineCompiler::compile_pipeline() step_mode (#2126) 2021-05-07 00:28:35 +00:00
pipeline_layout.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
pipeline.rs update for wgpu 0.8 (#1959) 2021-05-02 20:45:25 +00:00
render_pipelines.rs Frustum Culling (for Sprites) (#1492) 2021-03-24 21:29:53 +00:00
state_descriptors.rs update for wgpu 0.8 (#1959) 2021-05-02 20:45:25 +00:00
vertex_buffer_descriptor.rs Update to wgpu-rs 0.7 (#542) 2021-01-31 20:06:42 -08:00
vertex_format.rs update for wgpu 0.8 (#1959) 2021-05-02 20:45:25 +00:00