diff options
author | Matías Locatti <42481638+goldenx86@users.noreply.github.com> | 2023-06-12 21:50:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 21:50:59 +0200 |
commit | 42b2bc204f13966fd08af07dd08448bbefe14afa (patch) | |
tree | 5676f2516f33f855a02df13e89d401c8067fae21 /src/video_core/renderer_opengl/gl_device.h | |
parent | Merge pull request #10693 from liamwhite/f64-to-f32 (diff) | |
parent | shader_recompiler: remove barriers in conditional control flow when device lacks support (diff) | |
download | yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.gz yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.bz2 yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.lz yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.xz yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.tar.zst yuzu-42b2bc204f13966fd08af07dd08448bbefe14afa.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
-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 cc0b95f1a..ad27264e5 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -188,6 +188,10 @@ public: return strict_context_required; } + bool SupportsConditionalBarriers() const { + return supports_conditional_barriers; + } + private: static bool TestVariableAoffi(); static bool TestPreciseBug(); @@ -233,6 +237,7 @@ private: bool has_bool_ref_bug{}; bool can_report_memory{}; bool strict_context_required{}; + bool supports_conditional_barriers{}; std::string vendor_name; }; |