mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 23:55:08 +01:00
6719572b3b
For the upcoming preserve attachment optimisation, which will keep buffers/textures locked on the GPU between executions, we don't want to preserve any which are frequently locked on the CPU as that would result in lots of needless waiting for a resource to be unlocked by the GPU when it occasionally frees all preserve attachments when it could have been done much sooner. By checking if a resource has ever been locked on the CPU and using that to choose whether we preserve it we can avoid such waiting. |
||
---|---|---|
.. | ||
main |