1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/src/Ryujinx.Common/Collections
riperiperi e63157cc33
GPU: Don't create tracking handles for buffer textures (#5727)
* GPU: Don't create tracking handles for buffer textures

Buffer texture memory is handled by the buffer cache - the texture shouldn't create any tracking handles as they aren't used. This change simply makes them create and iterate 0 tracking handles, while keeping the rest of the texture group around.

This prevents a possible issue where many buffer textures are created as views of overlapping buffer ranges, and virtual regions have many dependant textures that don't actually contribute anything to handle state.

Should improve performance in Mortal Kombat 1, possibly certain UE4 games when FIFO raises to 100%.

* Fix interval tree bug

* Don't check view compatibility for buffer textures
2023-09-26 12:37:10 -03:00
..
IntervalTree.cs GPU: Don't create tracking handles for buffer textures (#5727) 2023-09-26 12:37:10 -03:00
IntrusiveRedBlackTree.cs [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00
IntrusiveRedBlackTreeImpl.cs [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00
IntrusiveRedBlackTreeNode.cs [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00
TreeDictionary.cs [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00