mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-26 13:01:57 +01:00
Destroy CommandExecutor
Nodes Before Waiting on Execution
`nodes` and `syncTextures` were cleared after waiting on the `CommandExecutor` fence rather than before, this wasted execution time after the wait for something that could be performed prior to the wait.
This commit is contained in:
parent
90a1b3348c
commit
aa57ec6d55
@ -169,13 +169,13 @@ namespace skyline::gpu::interconnect {
|
||||
buffer->SynchronizeGuestWithCycle(cycle);
|
||||
|
||||
commandBuffer.end();
|
||||
|
||||
gpu.scheduler.SubmitCommandBuffer(commandBuffer, activeCommandBuffer.GetFence());
|
||||
|
||||
nodes.clear();
|
||||
syncTextures.clear();
|
||||
|
||||
cycle = activeCommandBuffer.Reset();
|
||||
}
|
||||
|
||||
nodes.clear();
|
||||
syncTextures.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user