Skip to content

Commit

Permalink
bevy_pbr2: Fixes for MSAA after rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
superdump committed Aug 28, 2021
1 parent ed5f3fc commit 8b1eb0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pipelined/bevy_pbr2/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use wgpu::{
};

pub struct PbrShaders {
shader_module: ShaderModule,
pipeline: RenderPipeline,
view_layout: BindGroupLayout,
material_layout: BindGroupLayout,
Expand Down Expand Up @@ -290,6 +291,7 @@ impl FromWorld for PbrShaders {
}
};
PbrShaders {
shader_module,
pipeline,
view_layout,
material_layout,
Expand Down Expand Up @@ -511,8 +513,8 @@ pub fn prepare_pbr(
push_constant_ranges: &[],
bind_group_layouts: &[
&pbr_shaders.view_layout,
&pbr_shaders.mesh_layout,
&pbr_shaders.material_layout,
&pbr_shaders.mesh_layout,
],
});
pbr_shaders.pipeline = create_render_pipeline(
Expand Down

0 comments on commit 8b1eb0d

Please sign in to comment.