From d807ef367e0257ba54f8cf38708a7a61e28a4acb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 7 Apr 2020 05:48:21 +0200 Subject: Update `wgpu` to `0.5` in `iced_wgpu` :tada: --- examples/integration/src/scene.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/integration/src/scene.rs') diff --git a/examples/integration/src/scene.rs b/examples/integration/src/scene.rs index efb1921b..22c6812a 100644 --- a/examples/integration/src/scene.rs +++ b/examples/integration/src/scene.rs @@ -69,10 +69,12 @@ fn build_pipeline( let bind_group_layout = device.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor { + label: None, bindings: &[], }); let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { + label: None, layout: &bind_group_layout, bindings: &[], }); @@ -108,8 +110,10 @@ fn build_pipeline( write_mask: wgpu::ColorWrite::ALL, }], depth_stencil_state: None, - index_format: wgpu::IndexFormat::Uint16, - vertex_buffers: &[], + vertex_state: wgpu::VertexStateDescriptor { + index_format: wgpu::IndexFormat::Uint16, + vertex_buffers: &[], + }, sample_count: 1, sample_mask: !0, alpha_to_coverage_enabled: false, -- cgit