See gfx-rs/wgpu#8768.
Last active
December 22, 2025 19:24
-
-
Save ErichDonGubler/51273dd50b8aac83de30626cf7870365 to your computer and use it in GitHub Desktop.
wgpu-8768-mre
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is automatically @generated by Cargo. | |
| # It is not intended for manual editing. | |
| version = 4 | |
| [[package]] | |
| name = "aho-corasick" | |
| version = "1.1.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" | |
| 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_system_properties" | |
| version = "0.1.5" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" | |
| dependencies = [ | |
| "libc", | |
| ] | |
| [[package]] | |
| name = "anstream" | |
| version = "0.6.21" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" | |
| dependencies = [ | |
| "anstyle", | |
| "anstyle-parse", | |
| "anstyle-query", | |
| "anstyle-wincon", | |
| "colorchoice", | |
| "is_terminal_polyfill", | |
| "utf8parse", | |
| ] | |
| [[package]] | |
| name = "anstyle" | |
| version = "1.0.13" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" | |
| [[package]] | |
| name = "anstyle-parse" | |
| version = "0.2.7" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" | |
| dependencies = [ | |
| "utf8parse", | |
| ] | |
| [[package]] | |
| name = "anstyle-query" | |
| version = "1.1.5" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" | |
| dependencies = [ | |
| "windows-sys", | |
| ] | |
| [[package]] | |
| name = "anstyle-wincon" | |
| version = "3.0.11" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" | |
| dependencies = [ | |
| "anstyle", | |
| "once_cell_polyfill", | |
| "windows-sys", | |
| ] | |
| [[package]] | |
| name = "arrayvec" | |
| version = "0.7.6" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" | |
| [[package]] | |
| name = "ash" | |
| version = "0.38.0+1.3.281" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" | |
| dependencies = [ | |
| "libloading", | |
| ] | |
| [[package]] | |
| name = "autocfg" | |
| version = "1.5.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" | |
| [[package]] | |
| name = "bit-set" | |
| version = "0.8.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" | |
| dependencies = [ | |
| "bit-vec", | |
| ] | |
| [[package]] | |
| name = "bit-vec" | |
| version = "0.8.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" | |
| [[package]] | |
| name = "bitflags" | |
| version = "2.10.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" | |
| [[package]] | |
| name = "block" | |
| version = "0.1.6" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" | |
| [[package]] | |
| name = "bumpalo" | |
| version = "3.19.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" | |
| [[package]] | |
| name = "bytemuck" | |
| version = "1.24.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" | |
| dependencies = [ | |
| "bytemuck_derive", | |
| ] | |
| [[package]] | |
| name = "bytemuck_derive" | |
| version = "1.10.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| ] | |
| [[package]] | |
| name = "cfg-if" | |
| version = "1.0.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" | |
| [[package]] | |
| name = "cfg_aliases" | |
| version = "0.2.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" | |
| [[package]] | |
| name = "codespan-reporting" | |
| version = "0.12.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" | |
| dependencies = [ | |
| "serde", | |
| "termcolor", | |
| "unicode-width", | |
| ] | |
| [[package]] | |
| name = "colorchoice" | |
| version = "1.0.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" | |
| [[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" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" | |
| [[package]] | |
| name = "core-graphics-types" | |
| version = "0.2.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" | |
| dependencies = [ | |
| "bitflags", | |
| "core-foundation", | |
| "libc", | |
| ] | |
| [[package]] | |
| name = "crunchy" | |
| version = "0.2.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" | |
| [[package]] | |
| name = "document-features" | |
| version = "0.2.12" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" | |
| dependencies = [ | |
| "litrs", | |
| ] | |
| [[package]] | |
| name = "env_filter" | |
| version = "0.1.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" | |
| dependencies = [ | |
| "log", | |
| "regex", | |
| ] | |
| [[package]] | |
| name = "env_logger" | |
| version = "0.11.8" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" | |
| dependencies = [ | |
| "anstream", | |
| "anstyle", | |
| "env_filter", | |
| "jiff", | |
| "log", | |
| ] | |
| [[package]] | |
| name = "equivalent" | |
| version = "1.0.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" | |
| [[package]] | |
| name = "foldhash" | |
| 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" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" | |
| dependencies = [ | |
| "foreign-types-macros", | |
| "foreign-types-shared", | |
| ] | |
| [[package]] | |
| name = "foreign-types-macros" | |
| version = "0.2.3" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| ] | |
| [[package]] | |
| name = "foreign-types-shared" | |
| version = "0.3.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" | |
| [[package]] | |
| name = "gl_generator" | |
| version = "0.14.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" | |
| dependencies = [ | |
| "khronos_api", | |
| "log", | |
| "xml-rs", | |
| ] | |
| [[package]] | |
| name = "glow" | |
| version = "0.16.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c5e5ea60d70410161c8bf5da3fdfeaa1c72ed2c15f8bbb9d19fe3a4fad085f08" | |
| dependencies = [ | |
| "js-sys", | |
| "slotmap", | |
| "wasm-bindgen", | |
| "web-sys", | |
| ] | |
| [[package]] | |
| name = "glutin_wgl_sys" | |
| version = "0.6.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" | |
| dependencies = [ | |
| "gl_generator", | |
| ] | |
| [[package]] | |
| name = "gpu-allocator" | |
| version = "0.28.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "51255ea7cfaadb6c5f1528d43e92a82acb2b96c43365989a28b2d44ee38f8795" | |
| dependencies = [ | |
| "ash", | |
| "hashbrown 0.16.1", | |
| "log", | |
| "presser", | |
| "thiserror", | |
| "windows 0.62.2", | |
| ] | |
| [[package]] | |
| name = "gpu-descriptor" | |
| version = "0.3.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca" | |
| dependencies = [ | |
| "bitflags", | |
| "gpu-descriptor-types", | |
| "hashbrown 0.15.5", | |
| ] | |
| [[package]] | |
| name = "gpu-descriptor-types" | |
| version = "0.2.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" | |
| dependencies = [ | |
| "bitflags", | |
| ] | |
| [[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 0.1.5", | |
| ] | |
| [[package]] | |
| 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 = "hexf-parse" | |
| version = "0.2.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" | |
| [[package]] | |
| name = "indexmap" | |
| version = "2.12.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" | |
| dependencies = [ | |
| "equivalent", | |
| "hashbrown 0.16.1", | |
| ] | |
| [[package]] | |
| name = "is_terminal_polyfill" | |
| version = "1.70.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" | |
| [[package]] | |
| name = "jiff" | |
| version = "0.2.16" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" | |
| dependencies = [ | |
| "jiff-static", | |
| "log", | |
| "portable-atomic", | |
| "portable-atomic-util", | |
| "serde_core", | |
| ] | |
| [[package]] | |
| name = "jiff-static" | |
| version = "0.2.16" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| ] | |
| [[package]] | |
| name = "jni-sys" | |
| version = "0.3.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" | |
| [[package]] | |
| name = "js-sys" | |
| version = "0.3.83" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" | |
| dependencies = [ | |
| "once_cell", | |
| "wasm-bindgen", | |
| ] | |
| [[package]] | |
| name = "khronos-egl" | |
| version = "6.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" | |
| dependencies = [ | |
| "libc", | |
| "libloading", | |
| "pkg-config", | |
| ] | |
| [[package]] | |
| name = "khronos_api" | |
| version = "3.1.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" | |
| [[package]] | |
| name = "libc" | |
| version = "0.2.178" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" | |
| [[package]] | |
| name = "libloading" | |
| version = "0.8.9" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" | |
| dependencies = [ | |
| "cfg-if", | |
| "windows-link 0.2.1", | |
| ] | |
| [[package]] | |
| name = "libm" | |
| version = "0.2.15" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" | |
| [[package]] | |
| name = "litrs" | |
| version = "1.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" | |
| [[package]] | |
| name = "lock_api" | |
| version = "0.4.14" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" | |
| dependencies = [ | |
| "scopeguard", | |
| ] | |
| [[package]] | |
| name = "log" | |
| version = "0.4.29" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" | |
| [[package]] | |
| name = "malloc_buf" | |
| version = "0.0.6" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" | |
| dependencies = [ | |
| "libc", | |
| ] | |
| [[package]] | |
| name = "memchr" | |
| version = "2.7.6" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" | |
| [[package]] | |
| name = "metal" | |
| version = "0.33.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c7047791b5bc903b8cd963014b355f71dc9864a9a0b727057676c1dcae5cbc15" | |
| dependencies = [ | |
| "bitflags", | |
| "block", | |
| "core-graphics-types", | |
| "foreign-types", | |
| "log", | |
| "objc", | |
| "paste", | |
| ] | |
| [[package]] | |
| name = "naga" | |
| version = "28.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "618f667225063219ddfc61251087db8a9aec3c3f0950c916b614e403486f1135" | |
| dependencies = [ | |
| "arrayvec", | |
| "bit-set", | |
| "bitflags", | |
| "cfg-if", | |
| "cfg_aliases", | |
| "codespan-reporting", | |
| "half", | |
| "hashbrown 0.16.1", | |
| "hexf-parse", | |
| "indexmap", | |
| "libm", | |
| "log", | |
| "num-traits", | |
| "once_cell", | |
| "rustc-hash", | |
| "spirv", | |
| "thiserror", | |
| "unicode-ident", | |
| ] | |
| [[package]] | |
| name = "ndk-sys" | |
| version = "0.6.0+11769913" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" | |
| dependencies = [ | |
| "jni-sys", | |
| ] | |
| [[package]] | |
| name = "ntapi" | |
| version = "0.4.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c70f219e21142367c70c0b30c6a9e3a14d55b4d12a204d897fbec83a0363f081" | |
| dependencies = [ | |
| "winapi", | |
| ] | |
| [[package]] | |
| name = "num-traits" | |
| version = "0.2.19" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" | |
| dependencies = [ | |
| "autocfg", | |
| "libm", | |
| ] | |
| [[package]] | |
| name = "objc" | |
| version = "0.2.7" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" | |
| dependencies = [ | |
| "malloc_buf", | |
| ] | |
| [[package]] | |
| name = "objc2-core-foundation" | |
| version = "0.3.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" | |
| dependencies = [ | |
| "bitflags", | |
| ] | |
| [[package]] | |
| name = "objc2-io-kit" | |
| version = "0.3.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" | |
| dependencies = [ | |
| "libc", | |
| "objc2-core-foundation", | |
| ] | |
| [[package]] | |
| name = "once_cell" | |
| version = "1.21.3" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" | |
| [[package]] | |
| name = "once_cell_polyfill" | |
| version = "1.70.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" | |
| [[package]] | |
| name = "ordered-float" | |
| version = "5.1.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "7f4779c6901a562440c3786d08192c6fbda7c1c2060edd10006b05ee35d10f2d" | |
| dependencies = [ | |
| "num-traits", | |
| ] | |
| [[package]] | |
| name = "parking_lot" | |
| version = "0.12.5" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" | |
| dependencies = [ | |
| "lock_api", | |
| "parking_lot_core", | |
| ] | |
| [[package]] | |
| name = "parking_lot_core" | |
| version = "0.9.12" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" | |
| dependencies = [ | |
| "cfg-if", | |
| "libc", | |
| "redox_syscall", | |
| "smallvec", | |
| "windows-link 0.2.1", | |
| ] | |
| [[package]] | |
| name = "paste" | |
| version = "1.0.15" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" | |
| [[package]] | |
| name = "pkg-config" | |
| version = "0.3.32" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" | |
| [[package]] | |
| name = "pollster" | |
| version = "0.4.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3" | |
| [[package]] | |
| name = "portable-atomic" | |
| version = "1.12.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "f59e70c4aef1e55797c2e8fd94a4f2a973fc972cfde0e0b05f683667b0cd39dd" | |
| [[package]] | |
| name = "portable-atomic-util" | |
| version = "0.2.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" | |
| dependencies = [ | |
| "portable-atomic", | |
| ] | |
| [[package]] | |
| name = "presser" | |
| version = "0.3.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" | |
| [[package]] | |
| name = "proc-macro2" | |
| version = "1.0.103" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" | |
| dependencies = [ | |
| "unicode-ident", | |
| ] | |
| [[package]] | |
| name = "profiling" | |
| version = "1.0.17" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773" | |
| [[package]] | |
| name = "quote" | |
| version = "1.0.42" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" | |
| dependencies = [ | |
| "proc-macro2", | |
| ] | |
| [[package]] | |
| name = "range-alloc" | |
| version = "0.1.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c3d6831663a5098ea164f89cff59c6284e95f4e3c76ce9848d4529f5ccca9bde" | |
| [[package]] | |
| name = "raw-window-handle" | |
| version = "0.6.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" | |
| [[package]] | |
| name = "redox_syscall" | |
| version = "0.5.18" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" | |
| dependencies = [ | |
| "bitflags", | |
| ] | |
| [[package]] | |
| name = "regex" | |
| version = "1.12.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" | |
| dependencies = [ | |
| "aho-corasick", | |
| "memchr", | |
| "regex-automata", | |
| "regex-syntax", | |
| ] | |
| [[package]] | |
| name = "regex-automata" | |
| version = "0.4.13" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" | |
| dependencies = [ | |
| "aho-corasick", | |
| "memchr", | |
| "regex-syntax", | |
| ] | |
| [[package]] | |
| name = "regex-syntax" | |
| version = "0.8.8" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" | |
| [[package]] | |
| name = "renderdoc-sys" | |
| version = "1.1.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" | |
| [[package]] | |
| name = "rustc-hash" | |
| version = "1.1.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" | |
| [[package]] | |
| name = "rustversion" | |
| version = "1.0.22" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" | |
| [[package]] | |
| name = "scopeguard" | |
| version = "1.2.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | |
| [[package]] | |
| name = "serde" | |
| version = "1.0.228" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" | |
| dependencies = [ | |
| "serde_core", | |
| "serde_derive", | |
| ] | |
| [[package]] | |
| name = "serde_core" | |
| version = "1.0.228" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" | |
| dependencies = [ | |
| "serde_derive", | |
| ] | |
| [[package]] | |
| name = "serde_derive" | |
| version = "1.0.228" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| ] | |
| [[package]] | |
| name = "slotmap" | |
| version = "1.1.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" | |
| dependencies = [ | |
| "version_check", | |
| ] | |
| [[package]] | |
| name = "smallvec" | |
| version = "1.15.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" | |
| [[package]] | |
| name = "spirv" | |
| version = "0.3.0+sdk-1.3.268.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" | |
| dependencies = [ | |
| "bitflags", | |
| ] | |
| [[package]] | |
| name = "static_assertions" | |
| version = "1.1.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" | |
| [[package]] | |
| name = "syn" | |
| version = "2.0.111" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "unicode-ident", | |
| ] | |
| [[package]] | |
| name = "sysinfo" | |
| version = "0.37.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "16607d5caffd1c07ce073528f9ed972d88db15dd44023fa57142963be3feb11f" | |
| dependencies = [ | |
| "libc", | |
| "memchr", | |
| "ntapi", | |
| "objc2-core-foundation", | |
| "objc2-io-kit", | |
| "windows 0.61.3", | |
| ] | |
| [[package]] | |
| name = "termcolor" | |
| version = "1.4.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" | |
| dependencies = [ | |
| "winapi-util", | |
| ] | |
| [[package]] | |
| name = "thiserror" | |
| version = "2.0.17" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" | |
| dependencies = [ | |
| "thiserror-impl", | |
| ] | |
| [[package]] | |
| name = "thiserror-impl" | |
| version = "2.0.17" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| ] | |
| [[package]] | |
| name = "tmp-e8l5kb" | |
| version = "0.1.0" | |
| dependencies = [ | |
| "env_logger", | |
| "log", | |
| "pollster", | |
| "sysinfo", | |
| "wgpu", | |
| ] | |
| [[package]] | |
| name = "unicode-ident" | |
| version = "1.0.22" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" | |
| [[package]] | |
| name = "unicode-width" | |
| version = "0.2.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" | |
| [[package]] | |
| name = "utf8parse" | |
| version = "0.2.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" | |
| [[package]] | |
| name = "version_check" | |
| version = "0.9.5" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | |
| [[package]] | |
| name = "wasm-bindgen" | |
| version = "0.2.106" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" | |
| dependencies = [ | |
| "cfg-if", | |
| "once_cell", | |
| "rustversion", | |
| "wasm-bindgen-macro", | |
| "wasm-bindgen-shared", | |
| ] | |
| [[package]] | |
| name = "wasm-bindgen-futures" | |
| version = "0.4.56" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" | |
| dependencies = [ | |
| "cfg-if", | |
| "js-sys", | |
| "once_cell", | |
| "wasm-bindgen", | |
| "web-sys", | |
| ] | |
| [[package]] | |
| name = "wasm-bindgen-macro" | |
| version = "0.2.106" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" | |
| dependencies = [ | |
| "quote", | |
| "wasm-bindgen-macro-support", | |
| ] | |
| [[package]] | |
| name = "wasm-bindgen-macro-support" | |
| version = "0.2.106" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" | |
| dependencies = [ | |
| "bumpalo", | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| "wasm-bindgen-shared", | |
| ] | |
| [[package]] | |
| name = "wasm-bindgen-shared" | |
| version = "0.2.106" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" | |
| dependencies = [ | |
| "unicode-ident", | |
| ] | |
| [[package]] | |
| name = "web-sys" | |
| version = "0.3.83" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" | |
| dependencies = [ | |
| "js-sys", | |
| "wasm-bindgen", | |
| ] | |
| [[package]] | |
| name = "wgpu" | |
| version = "28.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "f9cb534d5ffd109c7d1135f34cdae29e60eab94855a625dcfe1705f8bc7ad79f" | |
| dependencies = [ | |
| "arrayvec", | |
| "bitflags", | |
| "bytemuck", | |
| "cfg-if", | |
| "cfg_aliases", | |
| "document-features", | |
| "hashbrown 0.16.1", | |
| "js-sys", | |
| "log", | |
| "naga", | |
| "parking_lot", | |
| "portable-atomic", | |
| "profiling", | |
| "raw-window-handle", | |
| "smallvec", | |
| "static_assertions", | |
| "wasm-bindgen", | |
| "wasm-bindgen-futures", | |
| "web-sys", | |
| "wgpu-core", | |
| "wgpu-hal", | |
| "wgpu-types", | |
| ] | |
| [[package]] | |
| name = "wgpu-core" | |
| version = "28.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "8bb4c8b5db5f00e56f1f08869d870a0dff7c8bc7ebc01091fec140b0cf0211a9" | |
| dependencies = [ | |
| "arrayvec", | |
| "bit-set", | |
| "bit-vec", | |
| "bitflags", | |
| "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", | |
| "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 = "28.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "293080d77fdd14d6b08a67c5487dfddbf874534bb7921526db56a7b75d7e3bef" | |
| dependencies = [ | |
| "android_system_properties", | |
| "arrayvec", | |
| "ash", | |
| "bit-set", | |
| "bitflags", | |
| "block", | |
| "bytemuck", | |
| "cfg-if", | |
| "cfg_aliases", | |
| "core-graphics-types", | |
| "glow", | |
| "glutin_wgl_sys", | |
| "gpu-allocator", | |
| "gpu-descriptor", | |
| "hashbrown 0.16.1", | |
| "js-sys", | |
| "khronos-egl", | |
| "libc", | |
| "libloading", | |
| "log", | |
| "metal", | |
| "naga", | |
| "ndk-sys", | |
| "objc", | |
| "once_cell", | |
| "ordered-float", | |
| "parking_lot", | |
| "portable-atomic", | |
| "portable-atomic-util", | |
| "profiling", | |
| "range-alloc", | |
| "raw-window-handle", | |
| "renderdoc-sys", | |
| "smallvec", | |
| "thiserror", | |
| "wasm-bindgen", | |
| "web-sys", | |
| "wgpu-types", | |
| "windows 0.62.2", | |
| "windows-core 0.62.2", | |
| ] | |
| [[package]] | |
| name = "wgpu-types" | |
| version = "28.0.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "e18308757e594ed2cd27dddbb16a139c42a683819d32a2e0b1b0167552f5840c" | |
| dependencies = [ | |
| "bitflags", | |
| "bytemuck", | |
| "js-sys", | |
| "log", | |
| "web-sys", | |
| ] | |
| [[package]] | |
| name = "winapi" | |
| version = "0.3.9" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" | |
| dependencies = [ | |
| "winapi-i686-pc-windows-gnu", | |
| "winapi-x86_64-pc-windows-gnu", | |
| ] | |
| [[package]] | |
| name = "winapi-i686-pc-windows-gnu" | |
| version = "0.4.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | |
| [[package]] | |
| name = "winapi-util" | |
| version = "0.1.11" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" | |
| dependencies = [ | |
| "windows-sys", | |
| ] | |
| [[package]] | |
| name = "winapi-x86_64-pc-windows-gnu" | |
| version = "0.4.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | |
| [[package]] | |
| name = "windows" | |
| version = "0.61.3" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" | |
| dependencies = [ | |
| "windows-collections 0.2.0", | |
| "windows-core 0.61.2", | |
| "windows-future 0.2.1", | |
| "windows-link 0.1.3", | |
| "windows-numerics 0.2.0", | |
| ] | |
| [[package]] | |
| name = "windows" | |
| version = "0.62.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" | |
| dependencies = [ | |
| "windows-collections 0.3.2", | |
| "windows-core 0.62.2", | |
| "windows-future 0.3.2", | |
| "windows-numerics 0.3.1", | |
| ] | |
| [[package]] | |
| name = "windows-collections" | |
| version = "0.2.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" | |
| dependencies = [ | |
| "windows-core 0.61.2", | |
| ] | |
| [[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.61.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" | |
| dependencies = [ | |
| "windows-implement", | |
| "windows-interface", | |
| "windows-link 0.1.3", | |
| "windows-result 0.3.4", | |
| "windows-strings 0.4.2", | |
| ] | |
| [[package]] | |
| name = "windows-core" | |
| version = "0.62.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" | |
| dependencies = [ | |
| "windows-implement", | |
| "windows-interface", | |
| "windows-link 0.2.1", | |
| "windows-result 0.4.1", | |
| "windows-strings 0.5.1", | |
| ] | |
| [[package]] | |
| name = "windows-future" | |
| version = "0.2.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" | |
| dependencies = [ | |
| "windows-core 0.61.2", | |
| "windows-link 0.1.3", | |
| "windows-threading 0.1.0", | |
| ] | |
| [[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 0.2.1", | |
| "windows-threading 0.2.1", | |
| ] | |
| [[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.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.1.3" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" | |
| [[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.2.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" | |
| dependencies = [ | |
| "windows-core 0.61.2", | |
| "windows-link 0.1.3", | |
| ] | |
| [[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 0.2.1", | |
| ] | |
| [[package]] | |
| name = "windows-result" | |
| version = "0.3.4" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" | |
| dependencies = [ | |
| "windows-link 0.1.3", | |
| ] | |
| [[package]] | |
| name = "windows-result" | |
| version = "0.4.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" | |
| dependencies = [ | |
| "windows-link 0.2.1", | |
| ] | |
| [[package]] | |
| name = "windows-strings" | |
| version = "0.4.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" | |
| dependencies = [ | |
| "windows-link 0.1.3", | |
| ] | |
| [[package]] | |
| name = "windows-strings" | |
| version = "0.5.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" | |
| dependencies = [ | |
| "windows-link 0.2.1", | |
| ] | |
| [[package]] | |
| name = "windows-sys" | |
| version = "0.61.2" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" | |
| dependencies = [ | |
| "windows-link 0.2.1", | |
| ] | |
| [[package]] | |
| name = "windows-threading" | |
| version = "0.1.0" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" | |
| dependencies = [ | |
| "windows-link 0.1.3", | |
| ] | |
| [[package]] | |
| name = "windows-threading" | |
| version = "0.2.1" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" | |
| dependencies = [ | |
| "windows-link 0.2.1", | |
| ] | |
| [[package]] | |
| name = "xml-rs" | |
| version = "0.8.28" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" | |
| [[package]] | |
| name = "zerocopy" | |
| version = "0.8.31" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" | |
| dependencies = [ | |
| "zerocopy-derive", | |
| ] | |
| [[package]] | |
| name = "zerocopy-derive" | |
| version = "0.8.31" | |
| source = "registry+https://github.com/rust-lang/crates.io-index" | |
| checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" | |
| dependencies = [ | |
| "proc-macro2", | |
| "quote", | |
| "syn", | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "tmp-e8l5kb" | |
| version = "0.1.0" | |
| edition = "2024" | |
| default-run = "main" | |
| [[bin]] | |
| name = "main" | |
| path = "main.rs" | |
| [dependencies] | |
| wgpu = "28.0.0" | |
| pollster = "0.4.0" | |
| env_logger = "0.11.8" | |
| log = "0.4.29" | |
| sysinfo = "0.37.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::{ | |
| thread, | |
| time::{Duration, Instant}, | |
| }; | |
| use pollster::FutureExt as _; | |
| struct ThisProcessMemory { | |
| system: sysinfo::System, | |
| pid: sysinfo::Pid, | |
| } | |
| impl ThisProcessMemory { | |
| pub fn new() -> Self { | |
| let system = sysinfo::System::new_with_specifics( | |
| sysinfo::RefreshKind::nothing().with_memory(sysinfo::MemoryRefreshKind::everything()), | |
| ); | |
| let pid = sysinfo::get_current_pid().expect("failed to get PID"); | |
| Self { system, pid } | |
| } | |
| pub fn in_mb(&mut self) -> u64 { | |
| let &mut Self { | |
| ref mut system, | |
| pid, | |
| } = self; | |
| system.refresh_processes_specifics( | |
| sysinfo::ProcessesToUpdate::Some(&[pid]), | |
| false, | |
| sysinfo::ProcessRefreshKind::nothing().with_memory(), | |
| ); | |
| system.process(pid).unwrap().memory() / (1024 * 1024) | |
| } | |
| } | |
| fn main() { | |
| let mut this_process_memory = ThisProcessMemory::new(); | |
| let instance = wgpu::Instance::new(&Default::default()); | |
| let adapter = instance | |
| .request_adapter(&Default::default()) | |
| .block_on() | |
| .unwrap(); | |
| let (device, queue) = adapter | |
| .request_device(&Default::default()) | |
| .block_on() | |
| .unwrap(); | |
| let texture = device.create_texture(&wgpu::TextureDescriptor { | |
| label: None, | |
| size: wgpu::Extent3d { | |
| width: 256, | |
| height: 256, | |
| depth_or_array_layers: 1, | |
| }, | |
| format: wgpu::TextureFormat::Bgra8Unorm, | |
| mip_level_count: 1, | |
| sample_count: 1, | |
| dimension: wgpu::TextureDimension::D2, | |
| usage: wgpu::TextureUsages::RENDER_ATTACHMENT, | |
| view_formats: &[], | |
| }); | |
| let texture_view = texture.create_view(&Default::default()); | |
| instance.poll_all(true); | |
| // NOTE: When we first populate this, @ErichDonGubler noticed a ~20 MiB higher usage than the | |
| // first comparison. Instead, use the memory usage after submitting commands for the first | |
| // frame as the baseline. | |
| let mut start_mem = None; | |
| let start_time = Instant::now(); | |
| let mut frame = 0u64; | |
| loop { | |
| let mut encoder = device.create_command_encoder(&Default::default()); | |
| let render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { | |
| color_attachments: &[Some(wgpu::RenderPassColorAttachment { | |
| view: &texture_view, | |
| ops: wgpu::Operations { | |
| load: wgpu::LoadOp::Clear(wgpu::Color { | |
| r: 0.1, | |
| g: 0.1, | |
| b: 0.1, | |
| a: 1.0, | |
| }), | |
| store: wgpu::StoreOp::Store, | |
| }, | |
| resolve_target: None, | |
| depth_slice: None, | |
| })], | |
| ..Default::default() | |
| }); | |
| drop(render_pass); | |
| let cmd_buf = encoder.finish(); | |
| queue.submit([cmd_buf]); | |
| frame = frame.checked_add(1).unwrap(); | |
| if frame.is_multiple_of(600) { | |
| let elapsed = Instant::now() - start_time; | |
| let mem = this_process_memory.in_mb(); | |
| println!( | |
| "[{elapsed:?}] Memory: {mem} MB (leaked: {})", | |
| mem.saturating_sub(*start_mem.get_or_insert(mem)) | |
| ); | |
| } | |
| thread::sleep(Duration::from_millis(16)); // ~60fps | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Delete this file if you want to preserve this project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment