diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-02 01:12:00 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:38:33 +0200 |
commit | 60bf761afbb125abd324e4b798d18a1611b5777b (patch) | |
tree | 5321727de0bf56eacd99a3917573f36f28197ba4 /src/video_core/renderer_opengl/gl_device.h | |
parent | texture_cache uncompress-compress is untopological. (diff) | |
download | yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.tar yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.tar.gz yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.tar.bz2 yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.tar.lz yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.tar.xz yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.tar.zst yuzu-60bf761afbb125abd324e4b798d18a1611b5777b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 5 |
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..1afe16779 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -34,6 +34,10 @@ public: return has_component_indexing_bug; } + bool IsTuringGPU() const { + return is_turing_plus; + } + private: static bool TestVariableAoffi(); static bool TestComponentIndexingBug(); @@ -43,6 +47,7 @@ private: u32 max_varyings{}; bool has_variable_aoffi{}; bool has_component_indexing_bug{}; + bool is_turing_plus{}; }; } // namespace OpenGL |