mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-20 15:17:55 +00:00
shader_recompiler: translate f64 to f32 when unsupported on host
This commit is contained in:
parent
dbe291a1b2
commit
947a4f6141
8 changed files with 198 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue