RyuKen/Ryujinx.Graphics.Gpu
riperiperi 8d36681bf1
Improve handling for unmapped GPU resources (#2083)
* Improve handling for unmapped GPU resources

- Fixed a memory tracking bug that would set protection on empty PTEs
- When a texture's memory is (partially) unmapped, all pool references are forcibly removed and the texture must be rediscovered to draw with it. This will also force the texture discovery to always compare the texture's range for a match.
- RegionHandles now know if they are unmapped, and automatically unset their dirty flag when unmapped.
- Partial texture sync now loads only the region of texture that has been modified. Unmapped memory tracking handles cause dirty flags for a texture group handle to be ignored.

This greatly improves the emulator's stability for newer UE4 games.

* Address feedback, fix MultiRange slice

Fixed an issue where the size of the multi-range slice would be miscalculated.

* Update Ryujinx.Memory/Range/MultiRange.cs (feedback)

Co-authored-by: Mary <thog@protonmail.com>

Co-authored-by: Mary <thog@protonmail.com>
2021-03-06 11:43:55 -03:00
..
Engine Texture Cache: "Texture Groups" and "Texture Dependencies" (#2001) 2021-03-02 19:30:54 -03:00
Image Improve handling for unmapped GPU resources (#2083) 2021-03-06 11:43:55 -03:00
Memory Texture Cache: "Texture Groups" and "Texture Dependencies" (#2001) 2021-03-02 19:30:54 -03:00
Shader Add progress reporting to PTC and Shader Cache (#2057) 2021-03-03 01:39:36 +01:00
State Implement clear buffer (fast path) (#1902) 2021-01-13 08:50:54 +11:00
Synchronization Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
ClassId.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
Constants.cs Initial transform feedback support (#1370) 2020-07-15 13:01:10 +10:00
GpuContext.cs Add progress reporting to PTC and Shader Cache (#2057) 2021-03-03 01:39:36 +01:00
GraphicsConfig.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
MethodParams.cs Add XML documentation to Ryujinx.Graphics.Gpu 2020-01-09 02:13:00 +01:00
Ryujinx.Graphics.Gpu.csproj infra: Migrate to .NET 5 (#1694) 2020-11-15 19:27:15 +01:00
ShadowRamControl.cs Implement MME shadow RAM (#987) 2020-03-13 12:30:26 +11:00
Window.cs Support for resources on non-contiguous GPU memory regions (#1905) 2021-01-17 19:44:34 +01:00