diff options
author | Liam <byteslice@airmail.cc> | 2023-06-10 11:40:58 -0400 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-06-10 12:30:39 -0400 |
commit | 2bb7ea436dc74f812a8092201dc597ed58ff3c7a (patch) | |
tree | 27b6426a646112e163ae39b733ce60ca6d6aa748 /src/shader_recompiler/host_translate_info.h | |
parent | fa5dfcb7129739b39de93dd710ccf2e58f3644cb (diff) |
shader_recompiler: remove barriers in conditional control flow when device lacks support
Diffstat (limited to 'src/shader_recompiler/host_translate_info.h')
-rw-r--r-- | src/shader_recompiler/host_translate_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h index 2aaa6c5eaa..d4e4f4d28c 100644 --- a/src/shader_recompiler/host_translate_info.h +++ b/src/shader_recompiler/host_translate_info.h @@ -17,6 +17,8 @@ struct HostTranslateInfo { bool support_viewport_index_layer{}; ///< True when the device supports gl_Layer in VS bool support_geometry_shader_passthrough{}; ///< True when the device supports geometry ///< passthrough shaders + bool support_conditional_barrier{}; ///< True when the device supports barriers in conditional + ///< control flow }; } // namespace Shader |