diff options
| author | Subv <subv2112@gmail.com> | 2018-04-14 11:45:23 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-04-14 22:54:23 -0500 |
| commit | 1957640ea25b34bec9e356a06dadf5937933c4ef (patch) | |
| tree | 62fb25a03d53e032bfada62a525e2d23be1570e8 /src/video_core/renderer_opengl/gl_state.h | |
| parent | ae58e46036944ebadfed611b657911720383d60f (diff) | |
GPU: Allow configuring ssbos in the opengl state manager.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 6 |
1 files changed, 6 insertions, 0 deletions
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<std::array<ConstBufferConfig, 16>, 5> const_buffers{}; } draw; struct { |
