Add spin lock to prevent waiting for fences on multiple threads at once on Adreno

This commit is contained in:
Gabriel A 2023-08-20 15:18:52 -03:00 committed by Emmanuel Hansen
parent 3e6ec4aea8
commit f1814ca542
5 changed files with 66 additions and 16 deletions

View file

@ -205,7 +205,7 @@ namespace Ryujinx.Graphics.Vulkan
for (int i = 0; i < fenceCount; i++)
{
fenceHolders[i].Put();
fenceHolders[i].PutLock();
}
return signaled;