mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Slight fix in examples
This commit is contained in:
parent
27f7fb5f75
commit
ebcfea2308
@ -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(),
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user