diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-01 22:41:55 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-06 05:37:55 +0200 |
commit | 02ab8449349fa9bb6d4f8b8403fff84ed85790c7 (patch) | |
tree | 240cff2aeb5d67e5fe8bc22f591a05280b82f0b5 /src/video_core/renderer_opengl/gl_device.cpp | |
parent | gl_buffer_cache: Implement flushing (diff) | |
download | yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.tar yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.tar.gz yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.tar.bz2 yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.tar.lz yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.tar.xz yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.tar.zst yuzu-02ab8449349fa9bb6d4f8b8403fff84ed85790c7.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp index a48e14d2e..6238ddaaa 100644 --- a/src/video_core/renderer_opengl/gl_device.cpp +++ b/src/video_core/renderer_opengl/gl_device.cpp @@ -24,6 +24,7 @@ T GetInteger(GLenum pname) { Device::Device() { uniform_buffer_alignment = GetInteger<std::size_t>(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT); + shader_storage_alignment = GetInteger<std::size_t>(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT); max_vertex_attributes = GetInteger<u32>(GL_MAX_VERTEX_ATTRIBS); max_varyings = GetInteger<u32>(GL_MAX_VARYING_VECTORS); has_variable_aoffi = TestVariableAoffi(); |