diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-11-15 21:36:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 21:36:25 -0300 |
commit | dcf10561b996cdba111c5a3c3fe128781ab44021 (patch) | |
tree | 6649be78f1ea86ff09f151bae622dc5b55fda669 /src/Ryujinx.Graphics.Gpu/Image/Texture.cs | |
parent | cdc8fed64fc8e51fe626b0a369902932db0ec49c (diff) |
Fix missing texture flush for draw then DMA copy sequence without render target change (#5933)1.1.1087
* Unbind render targets before DMA copy
* Move DirtyAction to TextureGroupHandle
* Fix lost copy dependency bug
* XML doc
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Gpu/Image/Texture.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/Texture.cs b/src/Ryujinx.Graphics.Gpu/Image/Texture.cs index 04c2b615..f1615b38 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -102,11 +102,6 @@ namespace Ryujinx.Graphics.Gpu.Image public bool AlwaysFlushOnOverlap { get; private set; } /// <summary> - /// Indicates that the texture was modified since the last time it was flushed. - /// </summary> - public bool ModifiedSinceLastFlush { get; set; } - - /// <summary> /// Increments when the host texture is swapped, or when the texture is removed from all pools. /// </summary> public int InvalidatedSequence { get; private set; } @@ -1443,7 +1438,7 @@ namespace Ryujinx.Graphics.Gpu.Image if (_modifiedStale || Group.HasCopyDependencies || Group.HasFlushBuffer) { _modifiedStale = false; - Group.SignalModifying(this, bound, bound || ModifiedSinceLastFlush || Group.HasCopyDependencies || Group.HasFlushBuffer); + Group.SignalModifying(this, bound); } _physicalMemory.TextureCache.Lift(this); |