diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-02-16 18:28:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 18:28:49 -0300 |
commit | efb135b74c9c0ff1de2dfd7d2a431bd23185ca66 (patch) | |
tree | 4defd89a4473e8d1149e041e98171d1b92fa18f2 /Ryujinx.Graphics.Gpu/Image/TextureGroup.cs | |
parent | a707842e14dde468781270198ae63757ca3c2716 (diff) |
Clear CPU side data on GPU buffer clears (#4125)1.1.624
* Clear CPU side data on GPU buffer clears
* Implement tracked fill operation that can signal other resource types except buffer
* Fix tests, add missing XML doc
* PR feedback
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureGroup.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureGroup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs b/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs index 1040b394..12a640e1 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs @@ -854,7 +854,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// <returns>A CpuRegionHandle covering the given range</returns> private CpuRegionHandle GenerateHandle(ulong address, ulong size) { - return _physicalMemory.BeginTracking(address, size); + return _physicalMemory.BeginTracking(address, size, ResourceKind.Texture); } /// <summary> |