mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 15:04:21 +00:00
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:
1 parent
e9e081a55f
commit
b536bbaf95
3 files changed
+71
-17
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user