Merge pull request #10699 from liamwhite/conditional-barrier

shader_recompiler: remove barriers in conditional control flow when device lacks support
This commit is contained in:
Matías Locatti
2023-06-12 16:50:59 -03:00
committed by GitHub
10 changed files with 65 additions and 0 deletions

View File

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