-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
OS: Ubuntu 24.04
Graphics card: Nvidia RTX 4070
cargo gpu version: cargo-gpu 0.1.0
I am trying to profile my shaders using nsight. I currently see this under the flamegraph:
I am compiling my CPU crate with debug symbols enabled.
This is how I invoke cargo gpu:
let result = std::process::Command::new("cargo")
.arg("gpu")
.arg("build")
.arg("--force-overwrite-lockfiles-v4-to-v3")
.arg("--auto-install-rust-toolchain")
.arg("--multimodule")
.arg("--spirv-metadata")
.arg("full")
.arg("--debug")
.current_dir(path)
.output()
.unwrap();
I have tried toggling the --debug
flag.
I also read this.
I am uncertain as to why nsight cannot find any debug symbols.
Metadata
Metadata
Assignees
Labels
No labels