aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/host_translate_info.h
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2023-06-12 16:50:59 -0300
committerGitHub <noreply@github.com>2023-06-12 16:50:59 -0300
commit42b2bc204f13966fd08af07dd08448bbefe14afa (patch)
tree5676f2516f33f855a02df13e89d401c8067fae21 /src/shader_recompiler/host_translate_info.h
parentad8f122ab106a474bee26ca2f638cfe51256eb6e (diff)
parent2bb7ea436dc74f812a8092201dc597ed58ff3c7a (diff)
Merge pull request #10699 from liamwhite/conditional-barrier
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.h2
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 4c6322904c..7d2ded9070 100644
--- a/src/shader_recompiler/host_translate_info.h
+++ b/src/shader_recompiler/host_translate_info.h
@@ -18,6 +18,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