Ryujinx/Ryujinx.Graphics.OpenGL
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
..
Helper
Image
Queries
BackgroundContextWorker.cs
Buffer.cs
Constants.cs
Debugger.cs
DrawTextureEmulation.cs
EnumConversion.cs
FormatInfo.cs
FormatTable.cs
Framebuffer.cs
Handle.cs
HwCapabilities.cs
IOpenGLContext.cs
OpenGLRenderer.cs
PersistentBuffers.cs
Pipeline.cs GAL: Send all buffer assignments at once rather than individually (#3881) 2022-11-24 07:50:59 +00:00
Program.cs
ResourcePool.cs
Ryujinx.Graphics.OpenGL.csproj
Sync.cs
VertexArray.cs
Window.cs