shader_recompiler: translate f64 to f32 when unsupported on host

This commit is contained in:
Liam 2023-06-09 22:57:50 -04:00
parent 4d395b3b72
commit 2f1e87dd83
8 changed files with 198 additions and 0 deletions

View file

@ -10,6 +10,7 @@ namespace Shader {
/// Misc information about the host
struct HostTranslateInfo {
bool support_float64{}; ///< True when the device supports 64-bit floats
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