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
This commit is contained in:
parent
b833183ef6
commit
d2bb458b51
25 changed files with 616 additions and 395 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue