First time user, using 3.0.0.13027 RC1, on my local laptop (Windows 7 x64, VS2010) debugging a x86 program.
No matter what I do, it always can’t find the shader files, even though it ran fine without Nsight. I thought it was the Nsight user properties window, but it’s still the same. In fact, as long as the path is relative, it won’t be able to load it and will always fail. Any ideas why?
The Visual Studio debugger and Nsight debugger have a property to set the Current Working Directory. If this is left blank the Visual Studio C++ Debugger will use the project directory. The Nsight debugger has a separate property that I believe will use the vcxproj setting if it exists; otherwise, it will set it to the executable directory. I recommend explicitly setting the value to see if it resolves your problem:
Open Solution Explorer
Right click on the Startup Project and execute Nsight User Properties
In the NVIDIA Nsight User Settings dialog select Launch
In the Launch Options section set Working directory to the directory that you want to use as the current working directory.
However now that I can access it, there is no way for me to do debugging (stepping through) of the GLSL shader code nor see pixel history. If you can point in me the right direction, that would be great!
However now that I can access it, there is no way for me to do debugging (stepping through) of the GLSL shader code nor see pixel history. If you can point in me the right direction, that would be great!