update deps

This commit is contained in:
Alex Janka 2024-07-20 17:50:41 +10:00
parent b577b326a8
commit 46ffdc4eb5
3 changed files with 698 additions and 164 deletions

853
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -24,17 +24,17 @@ bytemuck = "1.12"
raw-window-handle = "0.6"
thiserror = "1.0"
ultraviolet = "0.9"
wgpu = "0.19"
wgpu = "22.0.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "0.19", features = ["webgl"] }
wgpu = { version = "22.0.0", features = ["webgl"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = "0.3"
[dev-dependencies]
pixels-mocks = { path = "internals/pixels-mocks" }
winit = "0.28"
winit = "0.29.15"
[workspace]
members = ["examples/*", "internals/*", "run-wasm"]

View file

@ -144,6 +144,7 @@ impl ScalingRenderer {
module: &module,
entry_point: "vs_main",
buffers: &[vertex_buffer_layout],
compilation_options: Default::default(),
},
primitive: wgpu::PrimitiveState::default(),
depth_stencil: None,
@ -156,8 +157,10 @@ impl ScalingRenderer {
blend: Some(blend_state),
write_mask: wgpu::ColorWrites::ALL,
})],
compilation_options: Default::default(),
}),
multiview: None,
cache: None,
});
// Create clipping rectangle