2023-06-10 18:35:46 +00:00
|
|
|
[package]
|
|
|
|
name = "wgpu-test"
|
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
description = "common code for wgpu tests"
|
|
|
|
homepage.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
keywords.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
autotests = false
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[[test]]
|
2023-10-19 16:06:42 +00:00
|
|
|
name = "gpu-tests"
|
|
|
|
path = "tests/gpu.rs"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "cpu-tests"
|
|
|
|
path = "tests/cpu.rs"
|
2023-06-10 18:35:46 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
webgl = ["wgpu/webgl"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-10-19 16:06:42 +00:00
|
|
|
anyhow.workspace = true
|
|
|
|
arrayvec.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
bitflags.workspace = true
|
2023-07-19 21:48:23 +00:00
|
|
|
bytemuck.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
cfg-if.workspace = true
|
2023-10-19 16:06:42 +00:00
|
|
|
ctor.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
env_logger.workspace = true
|
2023-10-19 16:06:42 +00:00
|
|
|
futures-lite.workspace = true
|
|
|
|
heck.workspace = true
|
|
|
|
libtest-mimic.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
log.workspace = true
|
2023-08-14 12:33:50 +00:00
|
|
|
parking_lot.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
png.workspace = true
|
2023-07-19 21:48:23 +00:00
|
|
|
pollster.workspace = true
|
2023-10-30 03:58:32 +00:00
|
|
|
profiling.workspace = true
|
2023-10-19 16:06:42 +00:00
|
|
|
serde_json.workspace = true
|
|
|
|
serde.workspace = true
|
|
|
|
wgpu-macros.workspace = true
|
2023-10-30 03:58:32 +00:00
|
|
|
wgpu.workspace = true
|
2023-10-19 16:06:42 +00:00
|
|
|
wgt = { workspace = true, features = ["replay"] }
|
2023-06-10 18:35:46 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
nv-flip.workspace = true
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_log.workspace = true
|
|
|
|
raw-window-handle.workspace = true
|
|
|
|
wasm-bindgen.workspace = true
|
|
|
|
web-sys = { workspace = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
naga = { workspace = true, features = ["wgsl-in"] }
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
|
|
image.workspace = true
|
2023-07-19 21:48:23 +00:00
|
|
|
js-sys.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
wasm-bindgen-futures.workspace = true
|
2023-10-27 04:15:51 +00:00
|
|
|
wasm-bindgen-test.workspace = true
|
2023-07-19 21:48:23 +00:00
|
|
|
wasm-bindgen.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
web-sys = { workspace = true, features = ["CanvasRenderingContext2d", "Blob"] }
|