aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Video/Plane.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2023-08-16 22:06:46 +0100
committerGitHub <noreply@github.com>2023-08-16 23:06:46 +0200
commit0c445184c185f6cd4b870d88b5eaad46c633b83b (patch)
treeedae683cb87be6b38d96ade0938a40f12dd29957 /src/Ryujinx.Graphics.Video/Plane.cs
parent511b558ddc99f42d40a47b8077c77a69598e702e (diff)
Vulkan: Periodically free regions of the staging buffer (#5572)1.1.992
* Vulkan: Periodically free regions of the staging buffer There was an edge case where a game could submit tens of thousands of small copies over the course of over half a minute to unique fences. This could result in a large stutter when the staging buffer became full and it tried to check and free thousands of completed fences. This became visible with some games and mirrors on Windows, as they don't submit any buffer data via the staging buffer, but may submit copies of the support buffer. This change makes the Vulkan backend check for staging buffer completion on each command buffer submit, so it can't get backed up with 1000s of copies to check. * Add comment
Diffstat (limited to 'src/Ryujinx.Graphics.Video/Plane.cs')
0 files changed, 0 insertions, 0 deletions