mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00: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:
@ -169,13 +169,13 @@ namespace skyline::gpu::interconnect {
|
|||||||
buffer->SynchronizeGuestWithCycle(cycle);
|
buffer->SynchronizeGuestWithCycle(cycle);
|
||||||
|
|
||||||
commandBuffer.end();
|
commandBuffer.end();
|
||||||
|
|
||||||
gpu.scheduler.SubmitCommandBuffer(commandBuffer, activeCommandBuffer.GetFence());
|
gpu.scheduler.SubmitCommandBuffer(commandBuffer, activeCommandBuffer.GetFence());
|
||||||
|
|
||||||
|
nodes.clear();
|
||||||
|
syncTextures.clear();
|
||||||
|
|
||||||
cycle = activeCommandBuffer.Reset();
|
cycle = activeCommandBuffer.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
nodes.clear();
|
|
||||||
syncTextures.clear();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user