mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 01:45:29 +03:00
Avoid redundant GPU-dirty propagation for direct buffer recreation
This commit is contained in:
parent
4a3a40aa40
commit
a65aa28df2
@ -126,7 +126,7 @@ namespace skyline::gpu {
|
||||
copyBuffer(*newBuffer->guest, *srcBuffer->guest, newBuffer->backing->data(), srcBuffer->backing->data());
|
||||
}
|
||||
} else {
|
||||
if (srcBuffer->directGpuWritesActive) {
|
||||
if (srcBuffer->RefreshGpuWritesActiveDirect(false, {})) {
|
||||
newBuffer->MarkGpuDirtyImpl();
|
||||
} else if (srcBuffer->directTrackedShadowActive) {
|
||||
newBuffer->EnableTrackedShadowDirect();
|
||||
|
Loading…
Reference in New Issue
Block a user