1f5d881860
* GPU: Allow granular buffer updates from the constant buffer updater Sometimes, constant buffer updates can't be avoided, either due to a cb0 access that cannot be eliminated, or the game updating a buffer between draws to the detriment of everyone. To avoid uploading the full 4096 bytes each time, this PR remembers the offset and size containing all constant buffer updates since the last sync. It will then upload that range after sync. * Allow clearing the dirty range * Always use precise Might want to not do this if distance between the existing range and new one is too high. * Use old force dirty mechanism when distance between regions is too great * Update src/Ryujinx.Graphics.Gpu/Memory/Buffer.cs Co-authored-by: gdkchan <gab.dark.100@gmail.com> * Fix inheritance of _dirtyStart and _dirtyEnd --------- Co-authored-by: gdkchan <gab.dark.100@gmail.com> |
||
---|---|---|
.. | ||
Engine | ||
Image | ||
Memory | ||
Shader | ||
Synchronization | ||
ClassId.cs | ||
Constants.cs | ||
GpuChannel.cs | ||
GpuContext.cs | ||
GraphicsConfig.cs | ||
Ryujinx.Graphics.Gpu.csproj | ||
Window.cs |