mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
Fix order of struct members
This commit is contained in:
parent
4113a5cf09
commit
6139640bc0
@ -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();
|
||||
|
@ -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>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user