diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-24 01:19:56 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-24 07:47:56 +0200 |
commit | 46177901b8d76f16223ac2716abcd6393faae25a (patch) | |
tree | 4d98018a7f9ad90b23b991003bd0316b88c7772e /src/video_core/renderer_opengl/gl_device.h | |
parent | shader/shader_ir: Make Comment() take a std::string by value (diff) | |
download | yuzu-46177901b8d76f16223ac2716abcd6393faae25a.tar yuzu-46177901b8d76f16223ac2716abcd6393faae25a.tar.gz yuzu-46177901b8d76f16223ac2716abcd6393faae25a.tar.bz2 yuzu-46177901b8d76f16223ac2716abcd6393faae25a.tar.lz yuzu-46177901b8d76f16223ac2716abcd6393faae25a.tar.xz yuzu-46177901b8d76f16223ac2716abcd6393faae25a.tar.zst yuzu-46177901b8d76f16223ac2716abcd6393faae25a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h index de8490682..8c8c93760 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -30,13 +30,19 @@ public: return has_variable_aoffi; } + bool HasComponentIndexingBug() const { + return has_component_indexing_bug; + } + private: static bool TestVariableAoffi(); + static bool TestComponentIndexingBug(); std::size_t uniform_buffer_alignment{}; u32 max_vertex_attributes{}; u32 max_varyings{}; bool has_variable_aoffi{}; + bool has_component_indexing_bug{}; }; } // namespace OpenGL |