Spirv Debugger run jobs in a hot spin loop in a single JobQueue job

Each JobQueue Job runs SimulationJobHelper which is a while loop looking for threads to simulate
This commit is contained in:
Jake Turner committed 2025-09-24 15:14:55 +01:00
1 parent e9e081a55f
commit b536bbaf95
3 files changed
+71 -17

No files matched your search

+1 -1
View File
@@ -6893,7 +6893,6 @@ rdcarray<ShaderDebugState> VulkanReplay::ContinueDebug(ShaderDebugger *debugger)
}
rdcarray<ShaderDebugState> ret = spvDebugger->ContinueDebug();
Threading::JobSystem::SyncAllJobs();
VulkanAPIWrapper *api = (VulkanAPIWrapper *)spvDebugger->GetAPIWrapper();
api->ResetReplay();
@@ -6904,4 +6903,5 @@ rdcarray<ShaderDebugState> VulkanReplay::ContinueDebug(ShaderDebugger *debugger)
void VulkanReplay::FreeDebugger(ShaderDebugger *debugger)
{
delete debugger;
Threading::JobSystem::SyncAllJobs();
}