This repository has been archived on 2026-01-05. You can view files and clone it, but cannot push or open issues/pull-requests.
Ryujinx/Ryujinx.Graphics.Gpu
riperiperi 94cc365b63
Honour copy dependencies when switching render target (#2433)
* Honour copy dependencies when switching render target

When switching from one render target to another, when both have a copy dependency to each other, a copy can be deferred on the second target when unbinding the first.

Before, this would not be honoured before binding the new texture, so the copy would stay deferred until the render targets change again, at which point it would copy in old data and essentially clear all the draws done during that time.

This change runs synchronize memory to make sure that copies are honoured. This can cause a redundant copy, but it's better than it breaking for now.

This should fix miiedit on AMD/Intel GPUs on windows. May fix other games, or perhaps rare copy dependency bugs on NVIDIA too.

* Address feedback
2021-07-03 01:55:04 -03:00
..
Engine Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
Image Honour copy dependencies when switching render target (#2433) 2021-07-03 01:55:04 -03:00
Memory Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
Shader Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
State
Synchronization
ClassId.cs
Constants.cs
GpuChannel.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
GpuContext.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
GraphicsConfig.cs
MethodParams.cs
Ryujinx.Graphics.Gpu.csproj
ShadowRamControl.cs
Window.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00