You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2026. It is now read-only.
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();
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:
I have tried toggling the
--debugflag.I also read this.
I am uncertain as to why nsight cannot find any debug symbols.