diff --git a/Cargo.toml b/Cargo.toml index 268bfb7..c6e2e4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wgpu = "27.0.1" +wgpu = "28.0.0" euclid = "0.22.7" fontdue = "0.9.3" rect_packer = "0.2.1" diff --git a/src/lib.rs b/src/lib.rs index 64dac11..c335cf2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -213,7 +213,7 @@ impl Vger { &uniform_bind_group_layout, &image_bind_group_layout, ], - push_constant_ranges: &[], + immediate_size: 0, }); let blend_comp = wgpu::BlendComponent { @@ -251,8 +251,8 @@ impl Vger { }, depth_stencil: None, multisample: wgpu::MultisampleState::default(), - multiview: None, cache: None, + multiview_mask: None, }); let layout = Layout::new(CoordinateSystem::PositiveYUp); diff --git a/tests/common.rs b/tests/common.rs index 8f6a3db..2f7498b 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -183,6 +183,7 @@ pub fn render_test( depth_stencil_attachment: None, occlusion_query_set: None, timestamp_writes: None, + multiview_mask: None, }; vger.encode(&desc);