aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-08-10 10:29:37 +0200
committerMarkus Wick <markus@selfnet.de>2018-08-12 16:10:26 +0200
commit6ff7906ddc89d8f970702d320f29317831de7975 (patch)
tree97c15d6b51b71a1a2904dc1c148ff7b9c66e0477 /src/video_core/renderer_opengl/gl_state.h
parentce722e317b23a4591980fca0ffa43042d873eb2d (diff)
gl_rasterizer: Use the stream buffer for constant buffers.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 5c7b636e4..26e5460e5 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -123,6 +123,8 @@ public:
bool enabled = false;
GLuint bindpoint;
GLuint ssbo;
+ GLsizeiptr size;
+ GLintptr offset;
};
std::array<std::array<ConstBufferConfig, Regs::MaxConstBuffers>, 5> const_buffers;
} draw;