diff options
| author | Subv <subv2112@gmail.com> | 2018-04-15 11:15:54 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-04-15 11:15:54 -0500 |
| commit | 7da47da66e150e1d5bc1e43a37b3d9d9554b1c5f (patch) | |
| tree | 9eb70498adeac6b023d29e48199364e1b6d6279a /src/video_core/renderer_opengl/gl_state.h | |
| parent | 34264879b359107ec0c2fdb6af4b17faf52e4a6a (diff) | |
GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |
