2018-09-19 01:14:04 +00:00
|
|
|
[workspace]
|
2021-06-12 05:04:15 +00:00
|
|
|
resolver = "2"
|
2018-09-19 01:14:04 +00:00
|
|
|
members = [
|
2022-10-15 02:55:36 +00:00
|
|
|
"cts_runner",
|
|
|
|
"deno_webgpu",
|
2023-10-25 20:51:36 +00:00
|
|
|
|
|
|
|
# default members
|
2024-05-16 13:05:41 +00:00
|
|
|
"benches",
|
|
|
|
"examples",
|
2024-04-22 17:59:21 +00:00
|
|
|
"lock-analyzer",
|
2023-10-25 20:51:36 +00:00
|
|
|
"naga-cli",
|
2023-10-27 04:15:51 +00:00
|
|
|
"naga",
|
|
|
|
"naga/fuzz",
|
|
|
|
"naga/hlsl-snapshots",
|
2023-10-25 20:51:36 +00:00
|
|
|
"player",
|
|
|
|
"tests",
|
2020-08-12 18:52:21 +00:00
|
|
|
"wgpu-core",
|
2021-06-04 05:19:36 +00:00
|
|
|
"wgpu-hal",
|
2021-06-23 06:28:04 +00:00
|
|
|
"wgpu-info",
|
2023-10-19 16:06:42 +00:00
|
|
|
"wgpu-macros",
|
2020-03-11 01:06:23 +00:00
|
|
|
"wgpu-types",
|
2023-10-25 20:51:36 +00:00
|
|
|
"wgpu",
|
2021-09-07 22:04:28 +00:00
|
|
|
]
|
2023-10-27 04:15:51 +00:00
|
|
|
exclude = []
|
2023-06-10 18:35:46 +00:00
|
|
|
default-members = [
|
2024-05-16 13:05:41 +00:00
|
|
|
"benches",
|
|
|
|
"examples",
|
2024-04-22 17:59:21 +00:00
|
|
|
"lock-analyzer",
|
2023-10-25 20:51:36 +00:00
|
|
|
"naga-cli",
|
2023-10-27 04:15:51 +00:00
|
|
|
"naga",
|
|
|
|
"naga/fuzz",
|
|
|
|
"naga/hlsl-snapshots",
|
2023-06-10 18:35:46 +00:00
|
|
|
"player",
|
2023-10-25 20:51:36 +00:00
|
|
|
"tests",
|
2023-06-10 18:35:46 +00:00
|
|
|
"wgpu-core",
|
|
|
|
"wgpu-hal",
|
|
|
|
"wgpu-info",
|
2023-10-19 16:06:42 +00:00
|
|
|
"wgpu-macros",
|
2023-06-10 18:35:46 +00:00
|
|
|
"wgpu-types",
|
2023-10-25 20:51:36 +00:00
|
|
|
"wgpu",
|
2023-06-10 18:35:46 +00:00
|
|
|
]
|
2021-06-03 01:42:15 +00:00
|
|
|
|
2022-10-20 05:41:17 +00:00
|
|
|
[workspace.package]
|
|
|
|
edition = "2021"
|
2024-07-20 19:20:05 +00:00
|
|
|
rust-version = "1.76"
|
2022-10-20 05:41:17 +00:00
|
|
|
keywords = ["graphics"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
homepage = "https://wgpu.rs/"
|
|
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
2024-10-25 18:54:41 +00:00
|
|
|
version = "23.0.0"
|
2023-10-27 04:15:51 +00:00
|
|
|
authors = ["gfx-rs developers"]
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.wgc]
|
|
|
|
package = "wgpu-core"
|
|
|
|
path = "./wgpu-core"
|
2024-10-25 18:54:41 +00:00
|
|
|
version = "23.0.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.wgt]
|
|
|
|
package = "wgpu-types"
|
|
|
|
path = "./wgpu-types"
|
2024-10-25 18:54:41 +00:00
|
|
|
version = "23.0.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.hal]
|
|
|
|
package = "wgpu-hal"
|
|
|
|
path = "./wgpu-hal"
|
2024-10-25 18:54:41 +00:00
|
|
|
version = "23.0.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.naga]
|
2023-10-25 20:51:36 +00:00
|
|
|
path = "./naga"
|
2024-10-25 18:54:41 +00:00
|
|
|
version = "23.0.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-11-04 03:38:33 +00:00
|
|
|
anyhow = "1.0.92"
|
2024-07-26 16:48:01 +00:00
|
|
|
argh = "0.1.5"
|
2022-10-20 05:41:17 +00:00
|
|
|
arrayvec = "0.7"
|
2024-05-16 13:05:41 +00:00
|
|
|
bincode = "1"
|
2024-07-22 04:20:29 +00:00
|
|
|
bit-vec = "0.8"
|
2024-07-26 16:48:01 +00:00
|
|
|
bitflags = "2.6"
|
2024-10-14 06:46:00 +00:00
|
|
|
bytemuck = { version = "1.19" }
|
2022-10-20 05:41:17 +00:00
|
|
|
cfg_aliases = "0.1"
|
|
|
|
cfg-if = "1"
|
2024-05-16 13:05:41 +00:00
|
|
|
criterion = "0.5"
|
2022-10-20 05:41:17 +00:00
|
|
|
codespan-reporting = "0.11"
|
2023-10-19 16:06:42 +00:00
|
|
|
ctor = "0.2"
|
2024-07-15 10:08:51 +00:00
|
|
|
document-features = "0.2.10"
|
2024-07-14 20:14:40 +00:00
|
|
|
encase = "0.9"
|
2024-03-14 17:00:43 +00:00
|
|
|
env_logger = "0.11"
|
2023-11-06 01:46:18 +00:00
|
|
|
fern = "0.6"
|
2023-10-19 16:06:42 +00:00
|
|
|
flume = "0.11"
|
2023-11-25 22:20:11 +00:00
|
|
|
futures-lite = "2"
|
2023-11-23 10:26:42 +00:00
|
|
|
getrandom = "0.2"
|
2024-07-14 20:14:40 +00:00
|
|
|
glam = "0.28"
|
2024-04-18 00:14:55 +00:00
|
|
|
heck = "0.5.0"
|
2023-01-24 18:44:15 +00:00
|
|
|
image = { version = "0.24", default-features = false, features = ["png"] }
|
2024-07-26 16:48:01 +00:00
|
|
|
indexmap = "2"
|
2024-06-18 19:53:56 +00:00
|
|
|
itertools = { version = "0.10.5" }
|
2023-11-27 10:40:37 +00:00
|
|
|
ktx2 = "0.3"
|
2023-12-17 22:10:38 +00:00
|
|
|
libc = "0.2"
|
2024-08-20 15:48:37 +00:00
|
|
|
libloading = "0.8"
|
2023-10-19 16:06:42 +00:00
|
|
|
libtest-mimic = "0.6"
|
2022-10-20 05:41:17 +00:00
|
|
|
log = "0.4"
|
2023-06-10 18:35:46 +00:00
|
|
|
nanorand = { version = "0.7", default-features = false, features = ["wyrand"] }
|
2023-10-27 04:15:51 +00:00
|
|
|
# https://github.com/Razaekel/noise-rs/issues/335 (Updated dependencies)
|
|
|
|
noise = { version = "0.8", git = "https://github.com/Razaekel/noise-rs.git", rev = "c6942d4fb70af26db4441edcf41f90fa115333f2" }
|
2023-12-17 22:10:38 +00:00
|
|
|
nv-flip = "0.1"
|
2022-10-20 05:41:17 +00:00
|
|
|
obj = "0.10"
|
2024-10-07 03:41:57 +00:00
|
|
|
once_cell = "1.20.2"
|
2024-09-18 13:53:50 +00:00
|
|
|
parking_lot = "0.12.1"
|
2023-10-25 17:53:22 +00:00
|
|
|
pico-args = { version = "0.5.0", features = [
|
|
|
|
"eq-separator",
|
|
|
|
"short-space-opt",
|
|
|
|
"combined-flags",
|
|
|
|
] }
|
2024-09-30 06:28:08 +00:00
|
|
|
png = "0.17.14"
|
2023-07-20 01:29:10 +00:00
|
|
|
pollster = "0.3"
|
2022-10-20 05:41:17 +00:00
|
|
|
profiling = { version = "1", default-features = false }
|
2023-10-27 05:24:46 +00:00
|
|
|
raw-window-handle = "0.6"
|
2024-05-16 13:05:41 +00:00
|
|
|
rayon = "1"
|
2024-03-14 17:00:43 +00:00
|
|
|
renderdoc-sys = "1.1.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
ron = "0.8"
|
2023-12-17 22:10:38 +00:00
|
|
|
rustc-hash = "1.1.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
serde = "1"
|
2024-10-21 04:51:09 +00:00
|
|
|
serde_json = "1.0.132"
|
2022-10-20 05:41:17 +00:00
|
|
|
smallvec = "1"
|
|
|
|
static_assertions = "1.1.0"
|
2024-06-18 19:53:56 +00:00
|
|
|
strum = { version = "0.25.0", features = ["derive"] }
|
2024-05-16 13:05:41 +00:00
|
|
|
tracy-client = "0.17"
|
2024-11-11 09:06:58 +00:00
|
|
|
thiserror = "1.0.69"
|
2024-10-25 18:54:41 +00:00
|
|
|
wgpu = { version = "23.0.0", path = "./wgpu", default-features = false }
|
|
|
|
wgpu-core = { version = "23.0.0", path = "./wgpu-core" }
|
|
|
|
wgpu-macros = { version = "23.0.0", path = "./wgpu-macros" }
|
|
|
|
wgpu-test = { version = "23.0.0", path = "./tests" }
|
|
|
|
wgpu-types = { version = "23.0.0", path = "./wgpu-types" }
|
2023-12-17 22:10:38 +00:00
|
|
|
winit = { version = "0.29", features = ["android-native-activity"] }
|
2022-10-20 05:41:17 +00:00
|
|
|
|
2023-10-19 16:06:42 +00:00
|
|
|
# Metal dependencies
|
|
|
|
block = "0.1"
|
2023-12-17 22:10:38 +00:00
|
|
|
core-graphics-types = "0.1"
|
2024-07-14 20:14:40 +00:00
|
|
|
metal = { version = "0.29.0" }
|
2023-10-19 16:06:42 +00:00
|
|
|
objc = "0.2.5"
|
|
|
|
|
2022-10-20 05:41:17 +00:00
|
|
|
# Vulkan dependencies
|
2023-12-17 22:10:38 +00:00
|
|
|
android_system_properties = "0.1.1"
|
2024-05-13 15:57:44 +00:00
|
|
|
ash = "0.38.0"
|
2023-06-12 09:40:54 +00:00
|
|
|
gpu-alloc = "0.6"
|
2024-04-18 00:14:55 +00:00
|
|
|
gpu-descriptor = "0.3"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
# DX dependencies
|
2024-07-22 04:20:29 +00:00
|
|
|
bit-set = "0.8"
|
2024-08-20 15:48:37 +00:00
|
|
|
gpu-allocator = { version = "0.27", default-features = false }
|
2022-10-20 05:41:17 +00:00
|
|
|
range-alloc = "0.1"
|
2024-08-20 15:48:37 +00:00
|
|
|
windows-core = { version = "0.58", default-features = false }
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
# Gles dependencies
|
2023-10-05 18:01:32 +00:00
|
|
|
khronos-egl = "6"
|
2024-10-14 06:46:00 +00:00
|
|
|
glow = "0.14.2"
|
[wgpu-hal] Upgrade `glutin` to `0.31` (#6150)
* [wgpu-hal] Upgrade `glutin` to `0.31`
`glutin 0.30` onwards completely refactored its internals to no longer
be reliant on `winit`, as they (by default) have no direct relation
except needing to perform _some_ operations (platform-specific) at
strategic times in window creation and event loop handling. Most of
that is handled by a new `glutin-winit` introp crate, while the core
`glutin` crate now exclusively focuses on wrapping the various OpenGL
context APIs (CGL, EGL, WGL, ...).
This does result in a little more verbose handling to get the right
`GLDisplay`, `GLConfig`, `GLContext` and `GLSurface`, but gives much
more control and makes all intricacies more explicit. Most of the
code was copied from `glutin 0.31`'s example crate, with the code for
transparency support removed.
Note that the example doesn't at all handle event loop events properly:
resizes and redraws are not listened to, and mobile-specific surface
events (`Resumed` and `Suspended`) are equally ignored.
* [wgpu-hal] Implement proper `Surface` availability semantics in `raw-gles` example
2024-08-27 17:05:47 +00:00
|
|
|
glutin = { version = "0.31", default-features = false }
|
|
|
|
glutin-winit = { version = "0.4", default-features = false }
|
2024-07-26 16:48:01 +00:00
|
|
|
glutin_wgl_sys = "0.6"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
2024-07-21 19:35:50 +00:00
|
|
|
# DX and GLES dependencies
|
|
|
|
windows = { version = "0.58", default-features = false }
|
|
|
|
|
2022-10-20 05:41:17 +00:00
|
|
|
# wasm32 dependencies
|
|
|
|
console_error_panic_hook = "0.1.7"
|
2023-07-20 01:29:10 +00:00
|
|
|
console_log = "1"
|
2024-08-20 16:51:28 +00:00
|
|
|
js-sys = "0.3.70"
|
2024-10-14 06:46:00 +00:00
|
|
|
wasm-bindgen = "0.2.95"
|
2024-10-21 04:51:09 +00:00
|
|
|
wasm-bindgen-futures = "0.4.45"
|
2022-12-09 01:02:39 +00:00
|
|
|
wasm-bindgen-test = "0.3"
|
2024-10-14 06:46:00 +00:00
|
|
|
web-sys = "0.3.72"
|
2023-12-25 03:41:32 +00:00
|
|
|
web-time = "0.2.4"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
# deno dependencies
|
2024-04-01 16:39:02 +00:00
|
|
|
deno_console = "0.143.0"
|
|
|
|
deno_core = "0.272.0"
|
|
|
|
deno_url = "0.143.0"
|
|
|
|
deno_web = "0.174.0"
|
|
|
|
deno_webidl = "0.143.0"
|
2024-05-11 09:29:09 +00:00
|
|
|
deno_webgpu = { version = "0.118.0", path = "./deno_webgpu" }
|
2024-10-29 07:25:41 +00:00
|
|
|
tokio = "1.41.0"
|
2024-01-11 00:38:11 +00:00
|
|
|
termcolor = "1.4.1"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
2024-07-26 16:48:01 +00:00
|
|
|
# android dependencies
|
|
|
|
ndk-sys = "0.5.0"
|
|
|
|
|
2021-06-03 01:42:15 +00:00
|
|
|
[patch."https://github.com/gfx-rs/naga"]
|
|
|
|
|
|
|
|
[patch."https://github.com/zakarumych/gpu-descriptor"]
|
|
|
|
#gpu-descriptor = { path = "../gpu-descriptor/gpu-descriptor" }
|
|
|
|
|
|
|
|
[patch."https://github.com/zakarumych/gpu-alloc"]
|
|
|
|
#gpu-alloc = { path = "../gpu-alloc/gpu-alloc" }
|
2020-12-03 05:30:38 +00:00
|
|
|
|
2021-06-03 01:42:15 +00:00
|
|
|
[patch.crates-io]
|
2021-12-14 15:25:57 +00:00
|
|
|
#glow = { path = "../glow" }
|
2021-06-03 01:42:15 +00:00
|
|
|
#web-sys = { path = "../wasm-bindgen/crates/web-sys" }
|
|
|
|
#js-sys = { path = "../wasm-bindgen/crates/js-sys" }
|
|
|
|
#wasm-bindgen = { path = "../wasm-bindgen" }
|
2023-06-08 15:48:06 +00:00
|
|
|
|
2024-05-16 13:05:41 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = "thin"
|
|
|
|
debug = true
|
|
|
|
|
2023-06-08 15:48:06 +00:00
|
|
|
# Speed up image comparison even in debug builds
|
|
|
|
[profile.dev.package."nv-flip-sys"]
|
|
|
|
opt-level = 3
|