I am integrating Nsight Aftermath to our Vulkan application. The example provided on GitHub works properly, but when our application crashes there are no PFN_GFSDK_Aftermath_ShaderDebugInfoCb callbacks signalled. The application I’m working on generates SPIR-V modules at runtime without a GLSL/HLSL source, this makes me think that I am not getting callbacks due to missing debug information in the module. I’ve already tried adding a dummy OpString+OpSource without luck.
Currently the crash dumps look like this:
I am interested in an approximation of where it hangs in the SPIR-V disassembly. Is there anything I should add to the SPIR-V module to get a shader callback? Or are there cases where Aftermath simply doesn’t signal one?