diff options
| author | 2023-06-10 11:40:58 -0400 | |
|---|---|---|
| committer | 2023-06-10 12:30:39 -0400 | |
| commit | 2bb7ea436dc74f812a8092201dc597ed58ff3c7a (patch) | |
| tree | 27b6426a646112e163ae39b733ce60ca6d6aa748 /src/shader_recompiler/host_translate_info.h | |
| parent | Merge pull request #10685 from liamwhite/serialization-is-hard (diff) | |
| download | yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.gz yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.tar.xz yuzu-2bb7ea436dc74f812a8092201dc597ed58ff3c7a.zip | |
shader_recompiler: remove barriers in conditional control flow when device lacks support
Diffstat (limited to '')
| -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 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 { | |||
| 17 | bool support_viewport_index_layer{}; ///< True when the device supports gl_Layer in VS | 17 | bool support_viewport_index_layer{}; ///< True when the device supports gl_Layer in VS |
| 18 | bool support_geometry_shader_passthrough{}; ///< True when the device supports geometry | 18 | bool support_geometry_shader_passthrough{}; ///< True when the device supports geometry |
| 19 | ///< passthrough shaders | 19 | ///< passthrough shaders |
| 20 | bool support_conditional_barrier{}; ///< True when the device supports barriers in conditional | ||
| 21 | ///< control flow | ||
| 20 | }; | 22 | }; |
| 21 | 23 | ||
| 22 | } // namespace Shader | 24 | } // namespace Shader |