deps: every crate to its latest version, wgpu 28 -> 30
`cargo upgrade --incompatible` in each of the nine workspaces here, then `cargo update`. Most of it is version numbers only -- log, winit, bytemuck, image, tokio, libc, android_logger, proc-macro2/quote, and syn 2 -> 3 with no source change. The wg-app-link submodule's twelve dependencies were already at their latest majors, so that shared repository needs no commit. wgpu 28 -> 30 (and pollster 0.4 -> 1.0) is the part with API in it: bind-group and vertex-buffer slots are optional now, `Instance::new` takes an owned `InstanceDescriptor` carrying the platform's display handle (the desktop passes winit's, since wgpu wants it for a GLES surface presented on Wayland -- which is what this machine's fallback produces; Android passes none), `RequestAdapterOptions` and `SurfaceConfiguration` each gained a field kept at its historical value, `get_current_texture` answers with an enum instead of a Result, and `present` moved onto the queue. The one that would not have failed at compile time: naga now requires `@interpolate(flat)` on integer varyings, so `shader.wgsl`'s three u32 outputs were rejected at `create_shader_module` -- an abort on the device rather than a build error. Flat is the only interpolation an integer can have, so this states what the hardware already did. Checked: build, clippy, fmt and tests in all nine workspaces (iris 196, server 160); layer 2 screenshots on Vulkan and on force-gles, identical; the arm64 release APK builds and the x86_64 bench ran a full fling/stream/type/keyboard cycle on the emulator's GLES adapter. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a2e5e5881c
commit
cc8148cbec
21 files changed
+1320
-989
No files matched your search
@@ -10,8 +10,8 @@ edition = "2024"
|
||||
[dependencies]
|
||||
# Pinned to what iris asks for, so the answer is about iris rather than
|
||||
# about a different wgpu.
|
||||
wgpu = "28.0.0"
|
||||
pollster = "0.4.0"
|
||||
wgpu = "30.0.1"
|
||||
pollster = "1.0.1"
|
||||
# Queried directly, because wgpu and `cmd gpu vkjson` disagreed about
|
||||
# descriptor indexing in the emulator and only the raw call says which is
|
||||
# right.
|
||||
|
||||
Reference in new issue
Block a user