diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-23 20:00:11 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-30 11:46:24 -0400 |
commit | 4fda7f1c821e1000210b1dfdf1074795b1aa9d96 (patch) | |
tree | 1bc899e56f66fa8c6a9ebe6fbade73c2dc3ddd4a /src/shader_recompiler/host_translate_info.h | |
parent | 862dc2b2b31b8353449f61dcc68d69255721f6c6 (diff) |
structured_control_flow: Conditionally invoke demote reorder pass
This is only needed on select drivers when a fragment shader discards/demotes.
Diffstat (limited to 'src/shader_recompiler/host_translate_info.h')
-rw-r--r-- | src/shader_recompiler/host_translate_info.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h index 94a584219c..96468b2e79 100644 --- a/src/shader_recompiler/host_translate_info.h +++ b/src/shader_recompiler/host_translate_info.h @@ -11,8 +11,9 @@ namespace Shader { /// Misc information about the host struct HostTranslateInfo { - bool support_float16{}; ///< True when the device supports 16-bit floats - bool support_int64{}; ///< True when the device supports 64-bit integers + bool support_float16{}; ///< True when the device supports 16-bit floats + bool support_int64{}; ///< True when the device supports 64-bit integers + bool needs_demote_reorder{}; ///< True when the device needs DemoteToHelperInvocation reordered }; } // namespace Shader |