mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 19:05:29 +03:00
Clear syncBuffers
after CommandExecutor
execution
Due to an oversight, we weren't clearing the list of buffers that needed to be synced after every execution which led to them building up. Due to the relatively cheap synchronization of buffers and only doing so on faults this wasn't caught until now, it does depress the framerate significantly over time due to the size of the list growing to be in the range of 100k buffer views depending on the title.
This commit is contained in:
parent
49c0ba1207
commit
a6781b38f4
@ -167,6 +167,7 @@ namespace skyline::gpu::interconnect {
|
|||||||
|
|
||||||
nodes.clear();
|
nodes.clear();
|
||||||
syncTextures.clear();
|
syncTextures.clear();
|
||||||
|
syncBuffers.clear();
|
||||||
|
|
||||||
cycle = activeCommandBuffer.Reset();
|
cycle = activeCommandBuffer.Reset();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user