shader_recompiler: remove barriers in conditional control flow when device lacks support

This commit is contained in:
Liam
2023-06-10 11:40:58 -04:00
parent fa5dfcb712
commit 2bb7ea436d
10 changed files with 65 additions and 0 deletions

View File

@ -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