Add profiling instructions

This commit is contained in:
Dennis Kobert 2023-06-17 19:34:19 +02:00 committed by Keavon Chambers
parent c63a63ba13
commit aa338c5b1b
3 changed files with 13 additions and 0 deletions

View file

@ -16,6 +16,7 @@ gpu = [
default = ["wgpu"]
wgpu = ["wgpu-executor", "gpu", "graphene-std/wgpu"]
wayland = ["graphene-std/wayland"]
profiling = ["wgpu-executor/profiling"]
[dependencies]

View file

@ -6,6 +6,7 @@ license = "MIT OR Apache-2.0"
[features]
default = []
profiling = ["nvtx"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -38,3 +39,4 @@ futures-intrusive = "0.5.0"
futures = "0.3.25"
web-sys = { version = "0.3.4", features = ["HtmlCanvasElement"] }
winit = "0.28.6"
nvtx = { version = "1.1.1", optional = true }