Slight fix in examples

This commit is contained in:
Pierre Krieger 2016-04-23 13:33:58 +02:00
parent 27f7fb5f75
commit ebcfea2308
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ fn main() {
raster: Default::default(),
multisample: vulkano::pipeline::multisample::Multisample::disabled(),
fragment_shader: fs.main_entry_point(),
depth_stencil: vulkano::pipeline::depth_stencil::DepthStencil::simple_depth_test(),
depth_stencil: vulkano::pipeline::depth_stencil::DepthStencil::disabled(),
blend: vulkano::pipeline::blend::Blend::pass_through(),
layout: &pipeline_layout,
render_pass: vulkano::framebuffer::Subpass::from(&renderpass, 0).unwrap(),

View File

@ -194,7 +194,7 @@ fn main() {
raster: Default::default(),
multisample: vulkano::pipeline::multisample::Multisample::disabled(),
fragment_shader: fs.main_entry_point(),
depth_stencil: vulkano::pipeline::depth_stencil::DepthStencil::simple_depth_test(),
depth_stencil: vulkano::pipeline::depth_stencil::DepthStencil::disabled(),
blend: vulkano::pipeline::blend::Blend::pass_through(),
layout: &vulkano::descriptor::pipeline_layout::EmptyPipeline::new(&device).unwrap(),
render_pass: vulkano::framebuffer::Subpass::from(&renderpass, 0).unwrap(),