Handler for GPU crash dump callbacks from Nsight Aftermath
| 203 | |
| 204 | // Handler for GPU crash dump callbacks from Nsight Aftermath |
| 205 | static void gpuCrashDumpCallback(const void* pGpuCrashDump, const uint32_t gpuCrashDumpSize, void* pUserData) |
| 206 | { |
| 207 | std::lock_guard<std::mutex> lock(sMutex); |
| 208 | |
| 209 | // Write to file for later in-depth analysis with Nsight Graphics. |
| 210 | writeGpuCrashDumpToFile(pGpuCrashDump, gpuCrashDumpSize); |
| 211 | } |
| 212 | |
| 213 | // Handler for shader debug information callbacks |
| 214 | static void shaderDebugInfoCallback(const void* pShaderDebugInfo, const uint32_t shaderDebugInfoSize, void* pUserData) |
nothing calls this directly
no test coverage detected