mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
egui-wgpu: Show wgpu profiling scopes when using puffin profiler
This commit is contained in:
@@ -43,15 +43,23 @@ epaint = { version = "0.24.1", path = "../epaint", default-features = false, fea
|
||||
|
||||
bytemuck = "1.7"
|
||||
log = { version = "0.4", features = ["std"] }
|
||||
# wgpu uses the `profiling` crate for its profiling scopes.
|
||||
# This will hook them up to the puffin profiler as backend:
|
||||
profiling = { version = "1.0.12", default-features = false, features = [
|
||||
"profile-with-puffin",
|
||||
] }
|
||||
thiserror.workspace = true
|
||||
type-map = "0.5.0"
|
||||
wgpu.workspace = true
|
||||
|
||||
|
||||
#! ### Optional dependencies
|
||||
## Enable this when generating docs.
|
||||
document-features = { version = "0.2", optional = true }
|
||||
|
||||
winit = { version = "0.29.4", default-features = false, optional = true, features = ["rwh_05"] }
|
||||
winit = { version = "0.29.4", default-features = false, optional = true, features = [
|
||||
"rwh_05",
|
||||
] }
|
||||
|
||||
# Native:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user