From 1957640ea25b34bec9e356a06dadf5937933c4ef Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 14 Apr 2018 11:45:23 -0500 Subject: GPU: Allow configuring ssbos in the opengl state manager. --- src/video_core/renderer_opengl/gl_state.h | 6 ++++++ 1 file changed, 6 insertions(+) (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 b18af14bb..6a80e6a7d 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -123,6 +123,12 @@ public: GLuint uniform_buffer; // GL_UNIFORM_BUFFER_BINDING GLuint shader_program; // GL_CURRENT_PROGRAM GLuint program_pipeline; // GL_PROGRAM_PIPELINE_BINDING + struct ConstBufferConfig { + bool enabled; + GLuint bindpoint; + GLuint ssbo; + }; + std::array, 5> const_buffers{}; } draw; struct { -- cgit v1.2.3