1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2025-03-12 04:58:47 +01:00
Ryujinx/Ryujinx.Graphics.Gpu/Image
riperiperi 94cc365b63
Honour copy dependencies when switching render target ()
* 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
..
AutoDeleteCache.cs
FormatInfo.cs
FormatTable.cs Add another Depth32F texture format () 2021-05-22 01:15:08 +02:00
ITextureDescriptor.cs
Pool.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
ReductionFilter.cs
Sampler.cs
SamplerDescriptor.cs
SamplerMinFilter.cs
SamplerMipFilter.cs
SamplerPool.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
Texture.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
TextureBindingInfo.cs
TextureBindingsManager.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
TextureCache.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
TextureCompatibility.cs Compare aligned size for largest mip level when considering sampler resize () 2021-05-24 17:35:26 +10:00
TextureComponent.cs
TextureDependency.cs Texture Cache: "Texture Groups" and "Texture Dependencies" () 2021-03-02 19:30:54 -03:00
TextureDescriptor.cs Improve Buffer Textures and flush Image Stores () 2021-03-08 18:43:39 -03:00
TextureDescriptorType.cs
TextureGroup.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
TextureGroupHandle.cs Texture Cache: "Texture Groups" and "Texture Dependencies" () 2021-03-02 19:30:54 -03:00
TextureInfo.cs Texture Cache: "Texture Groups" and "Texture Dependencies" () 2021-03-02 19:30:54 -03:00
TextureManager.cs Honour copy dependencies when switching render target () 2021-07-03 01:55:04 -03:00
TextureMatchQuality.cs
TextureMsaaMode.cs
TexturePool.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
TexturePoolCache.cs Initial support for separate GPU address spaces () 2021-06-29 19:32:02 +02:00
TextureScaleMode.cs
TextureSearchFlags.cs
TextureTarget.cs
TextureViewCompatibility.cs