A GameCube/Wii emulator and debugger written in Rust.
updgrade wgpu
Layle2cd7cb39ae24
diff --git a/Cargo.lock b/Cargo.lockindex 3fe282c..d44a0c9 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -40,6 +40,12 @@ dependencies = ["memchr",]+[[package]]+name = "allocator-api2"+version = "0.2.21"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"+[[package]]name = "android-activity"version = "0.6.0"@@ -56,7 +62,7 @@ dependencies = ["log","ndk","ndk-context",- "ndk-sys 0.6.0+11769913",+ "ndk-sys","num_enum","thiserror 1.0.69",]@@ -165,6 +171,13 @@ version = "1.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"+[[package]]+name = "backend-wgpu"+version = "0.1.0"+dependencies = [+ "wgpu",+]+[[package]]name = "base64"version = "0.22.1"@@ -197,9 +210,6 @@ name = "bitflags"version = "2.11.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"-dependencies = [- "serde_core",-][[package]]name = "block"@@ -370,12 +380,13 @@ checksum = "3a822ea5bc7590f9d40f1ba12c0dc3c2760f3482c6984db1573ad11031420831"[[package]]name = "codespan-reporting"-version = "0.11.1"+version = "0.12.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"+checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81"dependencies = [+ "serde","termcolor",- "unicode-width 0.1.14",+ "unicode-width",][[package]]@@ -411,7 +422,7 @@ checksum = "958c5d6ecf1f214b4c2bbbbf6ab9523a864bd136dcf71a7e8904799acfe1ad47"dependencies = ["crossterm","unicode-segmentation",- "unicode-width 0.2.2",+ "unicode-width",][[package]]@@ -433,6 +444,16 @@ dependencies = ["libc",]+[[package]]+name = "core-foundation"+version = "0.10.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"+dependencies = [+ "core-foundation-sys",+ "libc",+]+[[package]]name = "core-foundation-sys"version = "0.8.7"@@ -446,8 +467,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081"dependencies = ["bitflags 1.3.2",- "core-foundation",- "core-graphics-types",+ "core-foundation 0.9.4",+ "core-graphics-types 0.1.3","foreign-types","libc",]@@ -459,7 +480,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"dependencies = ["bitflags 1.3.2",- "core-foundation",+ "core-foundation 0.9.4",+ "libc",+]++[[package]]+name = "core-graphics-types"+version = "0.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"+dependencies = [+ "bitflags 2.11.0",+ "core-foundation 0.10.1","libc",]@@ -492,6 +524,12 @@ dependencies = ["winapi",]+[[package]]+name = "crunchy"+version = "0.2.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"+[[package]]name = "cursor-icon"version = "1.2.0"@@ -569,6 +607,12 @@ version = "0.1.5"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"+[[package]]+name = "foldhash"+version = "0.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"+[[package]]name = "foreign-types"version = "0.5.0"@@ -694,35 +738,18 @@ dependencies = ["gl_generator",]-[[package]]-name = "gpu-alloc"-version = "0.6.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171"-dependencies = [- "bitflags 2.11.0",- "gpu-alloc-types",-]--[[package]]-name = "gpu-alloc-types"-version = "0.3.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4"-dependencies = [- "bitflags 2.11.0",-]-[[package]]name = "gpu-allocator"-version = "0.27.0"+version = "0.28.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c151a2a5ef800297b4e79efa4f4bec035c5f51d5ae587287c9b952bdf734cacd"+checksum = "51255ea7cfaadb6c5f1528d43e92a82acb2b96c43365989a28b2d44ee38f8795"dependencies = [+ "ash",+ "hashbrown 0.16.1","log","presser",- "thiserror 1.0.69",- "windows",+ "thiserror 2.0.18",+ "windows 0.58.0",][[package]]@@ -745,13 +772,25 @@ dependencies = ["bitflags 2.11.0",]+[[package]]+name = "half"+version = "2.7.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"+dependencies = [+ "cfg-if",+ "crunchy",+ "num-traits",+ "zerocopy",+]+[[package]]name = "hashbrown"version = "0.15.5"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"dependencies = [- "foldhash",+ "foldhash 0.1.5",][[package]]@@ -759,6 +798,11 @@ name = "hashbrown"version = "0.16.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"+dependencies = [+ "allocator-api2",+ "equivalent",+ "foldhash 0.2.0",+][[package]]name = "heck"@@ -882,6 +926,12 @@ dependencies = ["windows-link",]+[[package]]+name = "libm"+version = "0.2.16"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"+[[package]]name = "libredox"version = "0.1.14"@@ -962,13 +1012,13 @@ dependencies = [[[package]]name = "metal"-version = "0.31.0"+version = "0.33.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f569fb946490b5743ad69813cb19629130ce9374034abe31614a36402d18f99e"+checksum = "c7047791b5bc903b8cd963014b355f71dc9864a9a0b727057676c1dcae5cbc15"dependencies = ["bitflags 2.11.0","block",- "core-graphics-types",+ "core-graphics-types 0.2.0","foreign-types","log","objc",@@ -977,24 +1027,28 @@ dependencies = [[[package]]name = "naga"-version = "24.0.0"+version = "28.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e380993072e52eef724eddfcde0ed013b0c023c3f0417336ed041aa9f076994e"+checksum = "618f667225063219ddfc61251087db8a9aec3c3f0950c916b614e403486f1135"dependencies = ["arrayvec","bit-set","bitflags 2.11.0",+ "cfg-if","cfg_aliases","codespan-reporting",+ "half",+ "hashbrown 0.16.1","hexf-parse","indexmap",+ "libm","log",+ "num-traits",+ "once_cell","rustc-hash","spirv",- "strum",- "termcolor","thiserror 2.0.18",- "unicode-xid",+ "unicode-ident",][[package]]@@ -1006,7 +1060,7 @@ dependencies = ["bitflags 2.11.0","jni-sys","log",- "ndk-sys 0.6.0+11769913",+ "ndk-sys","num_enum","raw-window-handle","thiserror 1.0.69",@@ -1018,15 +1072,6 @@ version = "0.1.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"-[[package]]-name = "ndk-sys"-version = "0.5.0+25.2.9519653"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691"-dependencies = [- "jni-sys",-]-[[package]]name = "ndk-sys"version = "0.6.0+11769913"@@ -1052,6 +1097,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"dependencies = ["autocfg",+ "libm",][[package]]@@ -1430,6 +1476,21 @@ version = "0.4.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3"+[[package]]+name = "portable-atomic"+version = "1.13.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"++[[package]]+name = "portable-atomic-util"+version = "0.2.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7a9db96d7fa8782dd8c15ce32ffe8680bbd1e978a43bf51a34d39483540495f5"+dependencies = [+ "portable-atomic",+]+[[package]]name = "presser"version = "0.3.1"@@ -1625,6 +1686,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"dependencies = ["serde_core",+ "serde_derive",][[package]]@@ -1744,28 +1806,6 @@ version = "0.11.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"-[[package]]-name = "strum"-version = "0.26.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"-dependencies = [- "strum_macros",-]--[[package]]-name = "strum_macros"-version = "0.26.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"-dependencies = [- "heck",- "proc-macro2",- "quote",- "rustversion",- "syn",-]-[[package]]name = "syn"version = "2.0.117"@@ -1994,24 +2034,12 @@ version = "1.12.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"-[[package]]-name = "unicode-width"-version = "0.1.14"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"-[[package]]name = "unicode-width"version = "0.2.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"-[[package]]-name = "unicode-xid"-version = "0.2.6"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"-[[package]]name = "utf8parse"version = "0.2.2"@@ -2239,18 +2267,22 @@ dependencies = [[[package]]name = "wgpu"-version = "24.0.5"+version = "28.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6b0b3436f0729f6cdf2e6e9201f3d39dc95813fad61d826c1ed07918b4539353"+checksum = "f9cb534d5ffd109c7d1135f34cdae29e60eab94855a625dcfe1705f8bc7ad79f"dependencies = ["arrayvec","bitflags 2.11.0",+ "bytemuck",+ "cfg-if","cfg_aliases","document-features",+ "hashbrown 0.16.1","js-sys","log","naga","parking_lot",+ "portable-atomic","profiling","raw-window-handle","smallvec",@@ -2265,34 +2297,68 @@ dependencies = [[[package]]name = "wgpu-core"-version = "24.0.5"+version = "28.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7f0aa306497a238d169b9dc70659105b4a096859a34894544ca81719242e1499"+checksum = "d23f4642f53f666adcfd2d3218ab174d1e6681101aef18696b90cbe64d1c10f9"dependencies = ["arrayvec",+ "bit-set","bit-vec","bitflags 2.11.0",+ "bytemuck","cfg_aliases","document-features",+ "hashbrown 0.16.1","indexmap","log","naga","once_cell","parking_lot",+ "portable-atomic","profiling","raw-window-handle","rustc-hash","smallvec","thiserror 2.0.18",+ "wgpu-core-deps-apple",+ "wgpu-core-deps-emscripten",+ "wgpu-core-deps-windows-linux-android","wgpu-hal","wgpu-types",]+[[package]]+name = "wgpu-core-deps-apple"+version = "28.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "87b7b696b918f337c486bf93142454080a32a37832ba8a31e4f48221890047da"+dependencies = [+ "wgpu-hal",+]++[[package]]+name = "wgpu-core-deps-emscripten"+version = "28.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "34b251c331f84feac147de3c4aa3aa45112622a95dd7ee1b74384fa0458dbd79"+dependencies = [+ "wgpu-hal",+]++[[package]]+name = "wgpu-core-deps-windows-linux-android"+version = "28.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68ca976e72b2c9964eb243e281f6ce7f14a514e409920920dcda12ae40febaae"+dependencies = [+ "wgpu-hal",+]+[[package]]name = "wgpu-hal"-version = "24.0.4"+version = "28.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f112f464674ca69f3533248508ee30cb84c67cf06c25ff6800685f5e0294e259"+checksum = "44d6cb474beb218824dcc9e1ce679d973f719262789bfb27407da560cac20eeb"dependencies = ["android_system_properties","arrayvec",@@ -2301,13 +2367,14 @@ dependencies = ["bitflags 2.11.0","block","bytemuck",+ "cfg-if","cfg_aliases",- "core-graphics-types",+ "core-graphics-types 0.2.0","glow","glutin_wgl_sys",- "gpu-alloc","gpu-allocator","gpu-descriptor",+ "hashbrown 0.16.1","js-sys","khronos-egl","libc",@@ -2315,32 +2382,34 @@ dependencies = ["log","metal","naga",- "ndk-sys 0.5.0+25.2.9519653",+ "ndk-sys","objc","once_cell","ordered-float","parking_lot",+ "portable-atomic",+ "portable-atomic-util","profiling","range-alloc","raw-window-handle","renderdoc-sys",- "rustc-hash","smallvec","thiserror 2.0.18","wasm-bindgen","web-sys","wgpu-types",- "windows",- "windows-core",+ "windows 0.62.2",+ "windows-core 0.62.2",][[package]]name = "wgpu-types"-version = "24.0.0"+version = "28.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "50ac044c0e76c03a0378e7786ac505d010a873665e2d51383dcff8dd227dc69c"+checksum = "e18308757e594ed2cd27dddbb16a139c42a683819d32a2e0b1b0167552f5840c"dependencies = ["bitflags 2.11.0",+ "bytemuck","js-sys","log","web-sys",@@ -2383,23 +2452,68 @@ version = "0.58.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"dependencies = [- "windows-core",+ "windows-core 0.58.0","windows-targets 0.52.6",]+[[package]]+name = "windows"+version = "0.62.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"+dependencies = [+ "windows-collections",+ "windows-core 0.62.2",+ "windows-future",+ "windows-numerics",+]++[[package]]+name = "windows-collections"+version = "0.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"+dependencies = [+ "windows-core 0.62.2",+]+[[package]]name = "windows-core"version = "0.58.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"dependencies = [- "windows-implement",- "windows-interface",- "windows-result",- "windows-strings",+ "windows-implement 0.58.0",+ "windows-interface 0.58.0",+ "windows-result 0.2.0",+ "windows-strings 0.1.0","windows-targets 0.52.6",]+[[package]]+name = "windows-core"+version = "0.62.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"+dependencies = [+ "windows-implement 0.60.2",+ "windows-interface 0.59.3",+ "windows-link",+ "windows-result 0.4.1",+ "windows-strings 0.5.1",+]++[[package]]+name = "windows-future"+version = "0.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"+dependencies = [+ "windows-core 0.62.2",+ "windows-link",+ "windows-threading",+]+[[package]]name = "windows-implement"version = "0.58.0"@@ -2411,6 +2525,17 @@ dependencies = ["syn",]+[[package]]+name = "windows-implement"+version = "0.60.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"+dependencies = [+ "proc-macro2",+ "quote",+ "syn",+]+[[package]]name = "windows-interface"version = "0.58.0"@@ -2422,12 +2547,33 @@ dependencies = ["syn",]+[[package]]+name = "windows-interface"+version = "0.59.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"+dependencies = [+ "proc-macro2",+ "quote",+ "syn",+]+[[package]]name = "windows-link"version = "0.2.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"+[[package]]+name = "windows-numerics"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"+dependencies = [+ "windows-core 0.62.2",+ "windows-link",+]+[[package]]name = "windows-result"version = "0.2.0"@@ -2437,16 +2583,34 @@ dependencies = ["windows-targets 0.52.6",]+[[package]]+name = "windows-result"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"+dependencies = [+ "windows-link",+]+[[package]]name = "windows-strings"version = "0.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"dependencies = [- "windows-result",+ "windows-result 0.2.0","windows-targets 0.52.6",]+[[package]]+name = "windows-strings"+version = "0.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"+dependencies = [+ "windows-link",+]+[[package]]name = "windows-sys"version = "0.45.0"@@ -2514,6 +2678,15 @@ dependencies = ["windows_x86_64_msvc 0.52.6",]+[[package]]+name = "windows-threading"+version = "0.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"+dependencies = [+ "windows-link",+]+[[package]]name = "windows_aarch64_gnullvm"version = "0.42.2"@@ -2619,7 +2792,7 @@ dependencies = ["calloop","cfg_aliases","concurrent-queue",- "core-foundation",+ "core-foundation 0.9.4","core-graphics","cursor-icon","dpi",diff --git a/Cargo.toml b/Cargo.tomlindex 78b41e9..4e32944 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -1,6 +1,6 @@[workspace]resolver = "3"-members = ["crates/gctool", "crates/disasm", "crates/gekko", "crates/tinyemu", "crates/image", "crates/tinyapp"]+members = ["crates/gctool", "crates/disasm", "crates/gekko", "crates/tinyemu", "crates/image", "crates/tinyapp", "crates/backend-wgpu"][profile.release]lto = "fat"diff --git a/crates/backend-wgpu/Cargo.toml b/crates/backend-wgpu/Cargo.tomlnew file mode 100644index 0000000..be6c024--- /dev/null+++ b/crates/backend-wgpu/Cargo.toml@@ -0,0 +1,7 @@+[package]+name = "backend-wgpu"+version = "0.1.0"+edition = "2024"++[dependencies]+wgpu = "28.0.0"diff --git a/crates/backend-wgpu/src/lib.rs b/crates/backend-wgpu/src/lib.rsnew file mode 100644index 0000000..b93cf3f--- /dev/null+++ b/crates/backend-wgpu/src/lib.rs@@ -0,0 +1,14 @@+pub fn add(left: u64, right: u64) -> u64 {+ left + right+}++#[cfg(test)]+mod tests {+ use super::*;++ #[test]+ fn it_works() {+ let result = add(2, 2);+ assert_eq!(result, 4);+ }+}diff --git a/crates/tinyapp/Cargo.toml b/crates/tinyapp/Cargo.tomlindex d4b7fb0..15121c1 100644--- a/crates/tinyapp/Cargo.toml+++ b/crates/tinyapp/Cargo.toml@@ -6,6 +6,6 @@ edition = "2024"[dependencies]gekko = { path = "../gekko" }image = { path = "../image" }-wgpu = "24"+wgpu = "28.0.0"winit = "0.30"pollster = "0.4"diff --git a/crates/tinyapp/src/main.rs b/crates/tinyapp/src/main.rsindex f27dfb5..8627b1f 100644--- a/crates/tinyapp/src/main.rs+++ b/crates/tinyapp/src/main.rs@@ -75,7 +75,7 @@ impl State {.unwrap();let (device, queue) =- pollster::block_on(adapter.request_device(&wgpu::DeviceDescriptor::default(), None)).unwrap();+ pollster::block_on(adapter.request_device(&wgpu::DeviceDescriptor::default())).unwrap();let size = window.inner_size();let surface_caps = surface.get_capabilities(&adapter);@@ -129,7 +129,7 @@ impl State {let pipeline_layout = device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor {label: None,bind_group_layouts: &[&bind_group_layout],- push_constant_ranges: &[],+ immediate_size: 0,});let pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor {@@ -154,7 +154,7 @@ impl State {primitive: wgpu::PrimitiveState::default(),depth_stencil: None,multisample: wgpu::MultisampleState::default(),- multiview: None,+ multiview_mask: None,cache: None,});@@ -242,10 +242,12 @@ impl State {load: wgpu::LoadOp::Clear(wgpu::Color::BLACK),store: wgpu::StoreOp::Store,},+ depth_slice: None,})],depth_stencil_attachment: None,occlusion_query_set: None,timestamp_writes: None,+ multiview_mask: None,});rpass.set_pipeline(&self.pipeline);rpass.set_bind_group(0, &self.bind_group, &[]);