mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Keep track of buffer dirtiness within an execution
This commit is contained in:
@ -430,6 +430,8 @@ namespace skyline::gpu {
|
||||
if (!guest)
|
||||
return;
|
||||
|
||||
currentExecutionGpuDirty = true;
|
||||
|
||||
if (isDirect)
|
||||
MarkGpuDirtyImplDirect();
|
||||
else
|
||||
@ -648,6 +650,7 @@ namespace skyline::gpu {
|
||||
void Buffer::unlock() {
|
||||
tag = ContextTag{};
|
||||
AllowAllBackingWrites();
|
||||
currentExecutionGpuDirty = false;
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user