1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-23 07:23:59 +01:00
Ryujinx/Ryujinx.Graphics.Gpu/Memory
riperiperi ece36b274d
GAL: Send all buffer assignments at once rather than individually (#3881)
* GAL: Send all buffer assignments at once rather than individually

The `(int first, BufferRange[] ranges)` method call has very significant performance implications when the bindings are spread out, which they generally always are in Vulkan. This change makes it so that these methods are only called a maximum of one time per draw.

Significantly improves GPU thread performance in Pokemon Scarlet/Violet.

* Address Feedback

Removed SetUniformBuffers(int first, ReadOnlySpan<BufferRange> buffers)
2022-11-24 07:50:59 +00:00
..
Buffer.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
BufferBounds.cs
BufferCache.cs GPU: Relax locking on Buffer Cache (#3883) 2022-11-24 01:41:16 +00:00
BufferCacheEntry.cs
BufferManager.cs GAL: Send all buffer assignments at once rather than individually (#3881) 2022-11-24 07:50:59 +00:00
BufferModifiedRangeList.cs Gpu: Fix thread safety of ReregisterRanges (#3865) 2022-11-18 21:47:29 +01:00
BufferTextureBinding.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
CounterCache.cs
GpuRegionHandle.cs
IndexBuffer.cs
MemoryManager.cs New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
MultiRangeWritableBlock.cs
PhysicalMemory.cs New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
PteKind.cs
UnmapEventArgs.cs
VertexBuffer.cs