From 89ae06021465a79c44a04002cf83ab20e90e365e Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Fri, 15 Jul 2022 18:21:50 -0500 Subject: [PATCH] VideoCommon: Increase uniform stream buffer size to 64mb Densha De Go uses 27mb per frame, and we want enough space for the CPU to be encoding one frame while the GPU is rendering the previous --- Source/Core/VideoCommon/VertexManagerBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/VertexManagerBase.h b/Source/Core/VideoCommon/VertexManagerBase.h index 7efdec2ebd..69de50b46a 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.h +++ b/Source/Core/VideoCommon/VertexManagerBase.h @@ -90,7 +90,7 @@ public: // Texel buffer will fit the maximum size of an encoded GX texture. 1024x1024, RGBA8 = 4MB. static constexpr u32 VERTEX_STREAM_BUFFER_SIZE = 48 * 1024 * 1024; static constexpr u32 INDEX_STREAM_BUFFER_SIZE = 8 * 1024 * 1024; - static constexpr u32 UNIFORM_STREAM_BUFFER_SIZE = 32 * 1024 * 1024; + static constexpr u32 UNIFORM_STREAM_BUFFER_SIZE = 64 * 1024 * 1024; static constexpr u32 TEXEL_STREAM_BUFFER_SIZE = 16 * 1024 * 1024; VertexManagerBase();