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" raw-window-handle = "0.6"
thiserror = "1.0" thiserror = "1.0"
ultraviolet = "0.9" ultraviolet = "0.9"
wgpu = "0.19" wgpu = "22.0.0"
[target.'cfg(target_arch = "wasm32")'.dependencies] [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] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = "0.3" pollster = "0.3"
[dev-dependencies] [dev-dependencies]
pixels-mocks = { path = "internals/pixels-mocks" } pixels-mocks = { path = "internals/pixels-mocks" }
winit = "0.28" winit = "0.29.15"
[workspace] [workspace]
members = ["examples/*", "internals/*", "run-wasm"] members = ["examples/*", "internals/*", "run-wasm"]

View file

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