From 7da47da66e150e1d5bc1e43a37b3d9d9554b1c5f Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 15 Apr 2018 11:15:54 -0500 Subject: GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage. --- src/video_core/renderer_opengl/gl_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/renderer_opengl/gl_state.h') diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 6a80e6a7d..75c08e645 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -124,7 +124,7 @@ public: GLuint shader_program; // GL_CURRENT_PROGRAM GLuint program_pipeline; // GL_PROGRAM_PIPELINE_BINDING struct ConstBufferConfig { - bool enabled; + bool enabled = false; GLuint bindpoint; GLuint ssbo; }; -- cgit v1.2.3