diff options
| author | 2023-06-09 22:57:50 -0400 | |
|---|---|---|
| committer | 2023-06-10 12:38:49 -0400 | |
| commit | 2f1e87dd83b4ce4e6ea12f985b6da49829d821e4 (patch) | |
| tree | 85c9eaeb191ab46c2b9d8c2055c2824f4aa1ca6f /src/shader_recompiler/host_translate_info.h | |
| parent | Merge pull request #10614 from xcfrg/shader-backend-status-bar (diff) | |
| download | yuzu-2f1e87dd83b4ce4e6ea12f985b6da49829d821e4.tar.gz yuzu-2f1e87dd83b4ce4e6ea12f985b6da49829d821e4.tar.xz yuzu-2f1e87dd83b4ce4e6ea12f985b6da49829d821e4.zip | |
shader_recompiler: translate f64 to f32 when unsupported on host
Diffstat (limited to 'src/shader_recompiler/host_translate_info.h')
| -rw-r--r-- | src/shader_recompiler/host_translate_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h index 2aaa6c5ea..4c6322904 100644 --- a/src/shader_recompiler/host_translate_info.h +++ b/src/shader_recompiler/host_translate_info.h | |||
| @@ -10,6 +10,7 @@ namespace Shader { | |||
| 10 | 10 | ||
| 11 | /// Misc information about the host | 11 | /// Misc information about the host |
| 12 | struct HostTranslateInfo { | 12 | struct HostTranslateInfo { |
| 13 | bool support_float64{}; ///< True when the device supports 64-bit floats | ||
| 13 | bool support_float16{}; ///< True when the device supports 16-bit floats | 14 | bool support_float16{}; ///< True when the device supports 16-bit floats |
| 14 | bool support_int64{}; ///< True when the device supports 64-bit integers | 15 | bool support_int64{}; ///< True when the device supports 64-bit integers |
| 15 | bool needs_demote_reorder{}; ///< True when the device needs DemoteToHelperInvocation reordered | 16 | bool needs_demote_reorder{}; ///< True when the device needs DemoteToHelperInvocation reordered |