mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 02:27:52 -05:00
shader_recompiler: translate f64 to f32 when unsupported on host
This commit is contained in:
@ -300,6 +300,11 @@ public:
|
||||
return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
|
||||
}
|
||||
|
||||
/// Returns true if the device suppors float64 natively.
|
||||
bool IsFloat64Supported() const {
|
||||
return features.features.shaderFloat64;
|
||||
}
|
||||
|
||||
/// Returns true if the device supports float16 natively.
|
||||
bool IsFloat16Supported() const {
|
||||
return features.shader_float16_int8.shaderFloat16;
|
||||
|
Reference in New Issue
Block a user