1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-09 02:11:44 +00:00
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 Add support for custom line widths (#2406) 2021-06-25 20:11:54 -03:00
Synchronization Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
ClassId.cs
Constants.cs Improve linear texture compatibility rules (#2099) 2021-03-19 02:17:38 +01:00
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 misc: Fix default value for GraphicsConfig.MaxAnisotropy (#2274) 2021-05-07 13:18:23 -03:00
MethodParams.cs
Ryujinx.Graphics.Gpu.csproj infra: Migrate to .NET 5 (#1694) 2020-11-15 19:27:15 +01:00
ShadowRamControl.cs
Window.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00