From 2bb7ea436dc74f812a8092201dc597ed58ff3c7a Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 10 Jun 2023 11:40:58 -0400 Subject: shader_recompiler: remove barriers in conditional control flow when device lacks support --- src/shader_recompiler/host_translate_info.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shader_recompiler/host_translate_info.h') diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h index 2aaa6c5ea..d4e4f4d28 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 -- cgit v1.2.3