0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2025-01-10 01:11:59 +00:00
Ryujinx/src/Ryujinx.Graphics.Gpu/Memory
riperiperi 36f10df775
GPU: Fix errors handling texture remapping (#4745)
* GPU: Fix errors handling texture remapping

- Fixes an error where a pool entry and memory mapping changing at the same time could cause a texture to rebind its data from the wrong GPU VA (data swaps)
- Fixes an error where the texture pool could act on a mapping change before the mapping has actually been changed ("Unmapped" event happens before change, we need to signal it changed _after_ it completes)

TODO: remove textures from partially mapped list... if they aren't.

* Add Remap actions for handling post-mapping behaviours

* Remove unused code.

* Address feedback

* Nit
2023-05-01 15:32:32 -03:00
..
Buffer.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferBounds.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferCache.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferCacheEntry.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferMigration.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferModifiedRangeList.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
BufferTextureBinding.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
CounterCache.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
GpuRegionHandle.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IndexBuffer.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryManager.cs GPU: Fix errors handling texture remapping (#4745) 2023-05-01 15:32:32 -03:00
MultiRangeWritableBlock.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
PhysicalMemory.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
PteKind.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ResourceKind.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
UnmapEventArgs.cs GPU: Fix errors handling texture remapping (#4745) 2023-05-01 15:32:32 -03:00
VertexBuffer.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00