How can I debug glsl shaders using Nsight?
I am using Nsight Visual Studio Edition 5.2. I've tried using Nsight Visual Studio Edition 5.1. These both don't work. What I mean is that I've tried using this method and it doesn't work:
- Open Visual Studio Project
- Select "Nsight" from Menu and "Start Graphics Debugging"
- Let the program run for a while
- Press "Ctrl+Z"
- Press "Space"
- Go to "API Inspector" in Visual Studio
- Select "Program" from left side bar
- Select a "Source" from "Linked Shader State"
- Place a breakpoint, exactly as I would when I debug for Visual Studio
Then after all that. The breakpoint that I've placed is icon-ed as a warning and errors this whenever I hover over it, "The breakpoint will currently be hit. Shader Debugging is not supported for this GPU"
Here is the link for all the supported graphics cards for Nsight Visual Studio Edition 5.2.
My graphics card is NVIDIA GEFORCE GTX 970M (Notebook)
I'm currently using Visual Studio 2015 Enterprise