From 9fcd93b7b2b20e0e2e31e387d73248b75edc1c35 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 9 Dec 2018 13:41:23 -0600 Subject: [PATCH] rust fmt --- examples/src/bin/texture.rs | 24 +++++++++++----------- examples/src/bin/triangle.rs | 24 +++++++++++----------- examples/src/lib.rs | 40 ++++++++++++++++++------------------ 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/examples/src/bin/texture.rs b/examples/src/bin/texture.rs index 66ef3cc..8faca40 100644 --- a/examples/src/bin/texture.rs +++ b/examples/src/bin/texture.rs @@ -683,18 +683,18 @@ fn main() { vk::PipelineDynamicStateCreateInfo::builder().dynamic_states(&dynamic_state); let graphic_pipeline_infos = [vk::GraphicsPipelineCreateInfo::builder() - .stages(&shader_stage_create_infos) - .vertex_input_state(&vertex_input_state_info) - .input_assembly_state(&vertex_input_assembly_state_info) - .viewport_state(&viewport_state_info) - .rasterization_state(&rasterization_info) - .multisample_state(&multisample_state_info) - .depth_stencil_state(&depth_state_info) - .color_blend_state(&color_blend_state) - .dynamic_state(&dynamic_state_info) - .layout(pipeline_layout) - .render_pass(renderpass). - build()]; + .stages(&shader_stage_create_infos) + .vertex_input_state(&vertex_input_state_info) + .input_assembly_state(&vertex_input_assembly_state_info) + .viewport_state(&viewport_state_info) + .rasterization_state(&rasterization_info) + .multisample_state(&multisample_state_info) + .depth_stencil_state(&depth_state_info) + .color_blend_state(&color_blend_state) + .dynamic_state(&dynamic_state_info) + .layout(pipeline_layout) + .render_pass(renderpass) + .build()]; let graphics_pipelines = base .device diff --git a/examples/src/bin/triangle.rs b/examples/src/bin/triangle.rs index 72ac78c..f13f626 100644 --- a/examples/src/bin/triangle.rs +++ b/examples/src/bin/triangle.rs @@ -340,18 +340,18 @@ fn main() { vk::PipelineDynamicStateCreateInfo::builder().dynamic_states(&dynamic_state); let graphic_pipeline_info = [vk::GraphicsPipelineCreateInfo::builder() - .stages(&shader_stage_create_infos) - .vertex_input_state(&vertex_input_state_info) - .input_assembly_state(&vertex_input_assembly_state_info) - .viewport_state(&viewport_state_info) - .rasterization_state(&rasterization_info) - .multisample_state(&multisample_state_info) - .depth_stencil_state(&depth_state_info) - .color_blend_state(&color_blend_state) - .dynamic_state(&dynamic_state_info) - .layout(pipeline_layout) - .render_pass(renderpass) - .build()]; + .stages(&shader_stage_create_infos) + .vertex_input_state(&vertex_input_state_info) + .input_assembly_state(&vertex_input_assembly_state_info) + .viewport_state(&viewport_state_info) + .rasterization_state(&rasterization_info) + .multisample_state(&multisample_state_info) + .depth_stencil_state(&depth_state_info) + .color_blend_state(&color_blend_state) + .dynamic_state(&dynamic_state_info) + .layout(pipeline_layout) + .render_pass(renderpass) + .build()]; let graphics_pipelines = base .device diff --git a/examples/src/lib.rs b/examples/src/lib.rs index d4fd991..6a952c4 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -87,11 +87,11 @@ pub fn record_submit_commandbuffer