diff options
author | Liam <byteslice@airmail.cc> | 2023-06-10 17:40:58 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-06-10 18:30:39 +0200 |
commit | 2bb7ea436dc74f812a8092201dc597ed58ff3c7a (patch) | |
tree | 27b6426a646112e163ae39b733ce60ca6d6aa748 /src/video_core/renderer_opengl/gl_device.h | |
parent | Merge pull request #10685 from liamwhite/serialization-is-hard (diff) | |
download | yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.gz yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.bz2 yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.lz yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.xz yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.zst yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.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 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; }; |