Fix order of struct members

This commit is contained in:
Pierre Krieger 2016-04-07 17:45:53 +02:00
parent 4113a5cf09
commit 6139640bc0
2 changed files with 2 additions and 2 deletions

View File

@ -191,11 +191,11 @@ fn main() {
},
raster: Default::default(),
multisample: vulkano::pipeline::multisample::Multisample::disabled(),
fragment_shader: fs.main_entry_point(),
blend: vulkano::pipeline::blend::Blend {
logic_op: None,
blend_constants: Some([0.0; 4]),
},
fragment_shader: fs.main_entry_point(),
layout: &pipeline_layout,
render_pass: vulkano::framebuffer::Subpass::from(&renderpass, 0).unwrap(),
}).unwrap();

View File

@ -47,8 +47,8 @@ pub struct GraphicsPipelineParams<'a, Vdef, Vsp, Vi, Vl, Fs, Fo, Fl, L, Rp> wher
pub viewport: ViewportsState,
pub raster: Rasterization,
pub multisample: Multisample,
pub blend: Blend,
pub fragment_shader: FragmentShaderEntryPoint<'a, Fs, Fo, Fl>,
pub blend: Blend,
pub layout: &'a Arc<L>,
pub render_pass: Subpass<'a, Rp>,
}