mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
d3edbc57a9
Adds a benchmark for compute pass recording, very similar to what we have for render passes.
47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[package]
|
|
name = "wgpu-benchmark"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "wgpu benchmarking suite"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
autobenches = false
|
|
publish = false
|
|
|
|
[[bench]]
|
|
name = "root"
|
|
harness = false
|
|
path = "benches/root.rs"
|
|
|
|
[features]
|
|
# Uncomment these features to enable tracy and superluminal profiling.
|
|
# tracy = ["dep:tracy-client", "profiling/profile-with-tracy"]
|
|
# superluminal = ["profiling/profile-with-superluminal"]
|
|
|
|
[dependencies]
|
|
bincode.workspace = true
|
|
bytemuck.workspace = true
|
|
criterion.workspace = true
|
|
naga = { workspace = true, features = [
|
|
"deserialize",
|
|
"serialize",
|
|
"wgsl-in",
|
|
"spv-in",
|
|
"glsl-in",
|
|
"spv-out",
|
|
"msl-out",
|
|
"hlsl-out",
|
|
"glsl-out",
|
|
"wgsl-out",
|
|
] }
|
|
nanorand.workspace = true
|
|
once_cell.workspace = true
|
|
pollster.workspace = true
|
|
profiling.workspace = true
|
|
rayon.workspace = true
|
|
tracy-client = { workspace = true, optional = true }
|
|
wgpu = { workspace = true, features = ["wgsl"] }
|