Profiling wgpu app with Nsight Graphics. #7761
Unanswered
GeneralGDA
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm fairly certain wgpu is bugged, I've never gotten it to work either. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to profile a WGPU application on Windows using Nsight Graphics — I have a mobile GeForce 3070 graphics card. The WGPU's backend is Vulkan.
According to the WGPU source code, debug information in shaders is enabled by passing the wgpu::InstanceFlags::DEBUG flag to the descriptor of the wgpu::Instance::new function. This information is needed by Nsight to build flame graphs and perform top-down function analysis.
However, when analyzing the profile, Nsight says "Some shaders are missing required debug info to show nested calls within the Flame Graph. 3 shaders are missing function info. See the User Guide for information." 3 is exactly number of my shaders, used during a frame.
Could you please tell me if I'm doing something wrong? Or is the problem on the WGPU side with how it configures shader compilation?
Beta Was this translation helpful? Give feedback.
All reactions