summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-06-01 22:41:55 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-07-06 05:37:55 +0200
commit02ab8449349fa9bb6d4f8b8403fff84ed85790c7 (patch)
tree240cff2aeb5d67e5fe8bc22f591a05280b82f0b5 /src/video_core/renderer_opengl/gl_device.h
parentgl_buffer_cache: Implement flushing (diff)
downloadyuzu-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 '')
-rw-r--r--src/video_core/renderer_opengl/gl_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h
index 8c8c93760..939edb440 100644
--- a/src/video_core/renderer_opengl/gl_device.h
+++ b/src/video_core/renderer_opengl/gl_device.h
@@ -18,6 +18,10 @@ public:
return uniform_buffer_alignment;
}
+ std::size_t GetShaderStorageBufferAlignment() const {
+ return shader_storage_alignment;
+ }
+
u32 GetMaxVertexAttributes() const {
return max_vertex_attributes;
}
@@ -39,6 +43,7 @@ private:
static bool TestComponentIndexingBug();
std::size_t uniform_buffer_alignment{};
+ std::size_t shader_storage_alignment{};
u32 max_vertex_attributes{};
u32 max_varyings{};
bool has_variable_aoffi{};