mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 20:45:09 +01:00
Avoid chaining cycles in buffer recreation
This had a chance of creating circular chains which obviously caused issues, just do a wait instead for now.
This commit is contained in:
parent
a15db9cb06
commit
1a23b929a7
@ -95,7 +95,7 @@ namespace skyline::gpu {
|
||||
// LockedBuffer also holds `stateMutex` so we can freely access this
|
||||
if (srcBuffer->cycle && newBuffer->cycle != srcBuffer->cycle) {
|
||||
if (newBuffer->cycle)
|
||||
newBuffer->cycle->ChainCycle(srcBuffer->cycle);
|
||||
srcBuffer->WaitOnFence();
|
||||
else
|
||||
newBuffer->cycle = srcBuffer->cycle;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user