diff options
author | gdkchan <gab.dark.100@gmail.com> | 2018-11-17 02:01:31 -0200 |
---|---|---|
committer | Ac_K <Acoustik666@gmail.com> | 2018-11-17 05:01:31 +0100 |
commit | d2bb458b51bbcbc097f8f53ac2a3b8b15a723a45 (patch) | |
tree | 943f74d8edaf99c538eeaeeee01d8c5c55e5eec8 /Ryujinx.Graphics/GpuResourceManager.cs | |
parent | b833183ef640934e82106cb91f7ced65d81e3b07 (diff) |
Improved GPU command lists decoding (#499)
* Better implementation of the DMA pusher, misc fixes
* Remove some debug code
* Correct RGBX8 format
* Add support for linked Texture Sampler Control
* Attempt to fix upside down screen issue
Diffstat (limited to 'Ryujinx.Graphics/GpuResourceManager.cs')
-rw-r--r-- | Ryujinx.Graphics/GpuResourceManager.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/GpuResourceManager.cs b/Ryujinx.Graphics/GpuResourceManager.cs index 71390a83..c3d697c5 100644 --- a/Ryujinx.Graphics/GpuResourceManager.cs +++ b/Ryujinx.Graphics/GpuResourceManager.cs @@ -117,7 +117,7 @@ namespace Ryujinx.Graphics return false; } - private bool MemoryRegionModified(NvGpuVmm Vmm, long Position, long Size, NvGpuBufferType Type) + public bool MemoryRegionModified(NvGpuVmm Vmm, long Position, long Size, NvGpuBufferType Type) { HashSet<long> Uploaded = UploadedKeys[(int)Type]; @@ -136,5 +136,10 @@ namespace Ryujinx.Graphics UploadedKeys[Index].Clear(); } } + + public void ClearPbCache(NvGpuBufferType Type) + { + UploadedKeys[(int)Type].Clear(); + } } } |