Upgrade to wgpu 27.0.1

This commit is contained in:
Hanno Braun 2025-10-06 21:16:08 +02:00
parent 6397833d71
commit 323a50d63c
3 changed files with 26 additions and 26 deletions

49
Cargo.lock generated
View File

@ -317,9 +317,6 @@ name = "bitflags"
version = "2.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
dependencies = [
"serde",
]
[[package]]
name = "block"
@ -2095,9 +2092,9 @@ dependencies = [
[[package]]
name = "naga"
version = "26.0.0"
version = "27.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "916cbc7cb27db60be930a4e2da243cf4bc39569195f22fd8ee419cd31d5b662c"
checksum = "12b2e757b11b47345d44e7760e45458339bc490463d9548cd8651c53ae523153"
dependencies = [
"arrayvec",
"bit-set",
@ -2106,7 +2103,7 @@ dependencies = [
"cfg_aliases",
"codespan-reporting",
"half",
"hashbrown 0.15.5",
"hashbrown 0.16.0",
"hexf-parse",
"indexmap",
"libm",
@ -4389,16 +4386,16 @@ dependencies = [
[[package]]
name = "wgpu"
version = "26.0.1"
version = "27.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70b6ff82bbf6e9206828e1a3178e851f8c20f1c9028e74dd3a8090741ccd5798"
checksum = "bfe68bac7cde125de7a731c3400723cadaaf1703795ad3f4805f187459cd7a77"
dependencies = [
"arrayvec",
"bitflags 2.9.4",
"cfg-if",
"cfg_aliases",
"document-features",
"hashbrown 0.15.5",
"hashbrown 0.16.0",
"js-sys",
"log",
"naga",
@ -4418,17 +4415,18 @@ dependencies = [
[[package]]
name = "wgpu-core"
version = "26.0.1"
version = "27.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5f62f1053bd28c2268f42916f31588f81f64796e2ff91b81293515017ca8bd9"
checksum = "e3d654c0b6c6335edfca18c11bdaed964def641b8e9997d3a495a2ff4077c922"
dependencies = [
"arrayvec",
"bit-set",
"bit-vec",
"bitflags 2.9.4",
"bytemuck",
"cfg_aliases",
"document-features",
"hashbrown 0.15.5",
"hashbrown 0.16.0",
"indexmap",
"log",
"naga",
@ -4450,45 +4448,45 @@ dependencies = [
[[package]]
name = "wgpu-core-deps-apple"
version = "26.0.0"
version = "27.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18ae5fbde6a4cbebae38358aa73fcd6e0f15c6144b67ef5dc91ded0db125dbdf"
checksum = "0772ae958e9be0c729561d5e3fd9a19679bcdfb945b8b1a1969d9bfe8056d233"
dependencies = [
"wgpu-hal",
]
[[package]]
name = "wgpu-core-deps-emscripten"
version = "26.0.0"
version = "27.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7670e390f416006f746b4600fdd9136455e3627f5bd763abf9a65daa216dd2d"
checksum = "b06ac3444a95b0813ecfd81ddb2774b66220b264b3e2031152a4a29fda4da6b5"
dependencies = [
"wgpu-hal",
]
[[package]]
name = "wgpu-core-deps-wasm"
version = "26.0.0"
version = "27.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c03b9f9e1a50686d315fc6debe4980cc45cd37b0e919351917df494e8fdc8885"
checksum = "9b1027dcf3b027a877e44819df7ceb0e2e98578830f8cd34cd6c3c7c2a7a50b7"
dependencies = [
"wgpu-hal",
]
[[package]]
name = "wgpu-core-deps-windows-linux-android"
version = "26.0.0"
version = "27.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "720a5cb9d12b3d337c15ff0e24d3e97ed11490ff3f7506e7f3d98c68fa5d6f14"
checksum = "71197027d61a71748e4120f05a9242b2ad142e3c01f8c1b47707945a879a03c3"
dependencies = [
"wgpu-hal",
]
[[package]]
name = "wgpu-hal"
version = "26.0.4"
version = "27.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7df2c64ac282a91ad7662c90bc4a77d4a2135bc0b2a2da5a4d4e267afc034b9e"
checksum = "2618a2d6b8a5964ecc1ac32a5db56cb3b1e518725fcd773fd9a782e023453f2b"
dependencies = [
"android_system_properties",
"arrayvec",
@ -4505,7 +4503,7 @@ dependencies = [
"gpu-alloc",
"gpu-allocator",
"gpu-descriptor",
"hashbrown 0.15.5",
"hashbrown 0.16.0",
"js-sys",
"khronos-egl",
"libc",
@ -4515,6 +4513,7 @@ dependencies = [
"naga",
"ndk-sys",
"objc",
"once_cell",
"ordered-float",
"parking_lot",
"portable-atomic",
@ -4534,9 +4533,9 @@ dependencies = [
[[package]]
name = "wgpu-types"
version = "26.0.0"
version = "27.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eca7a8d8af57c18f57d393601a1fb159ace8b2328f1b6b5f80893f7d672c9ae2"
checksum = "afdcf84c395990db737f2dd91628706cb31e86d72e53482320d368e52b5da5eb"
dependencies = [
"bitflags 2.9.4",
"bytemuck",

View File

@ -35,7 +35,7 @@ default-features = false
features = ["png", "jpeg"]
[dependencies.wgpu]
version = "26.0.1"
version = "27.0.1"
features = ["webgl"]
# We don't depend on `getrandom` directly, but we need this to enable the

View File

@ -107,6 +107,7 @@ impl Device {
label: None,
required_features,
required_limits,
experimental_features: wgpu::ExperimentalFeatures::disabled(),
// Here we give a memory hint to preserve memory usage. This
// should allow us to run in as much devices as possible.