mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
vk: Restore vega native use of FP16 in shaders
- AMD proprietary drivers should work fine
This commit is contained in:
parent
54d95373d0
commit
d53d7bb598
@ -600,8 +600,8 @@ private:
|
||||
|
||||
if (get_chip_class() == chip_class::AMD_vega)
|
||||
{
|
||||
LOG_WARNING(RSX, "float16_t does not work correctly on VEGA hardware on all drivers. Using float32_t fallback instead.");
|
||||
shader_types_support.allow_float16 = false;
|
||||
// Disable fp16 if driver uses LLVM emitter. It does fine with AMD proprietary drivers though.
|
||||
shader_types_support.allow_float16 = (driver_properties.driverID == VK_DRIVER_ID_AMD_PROPRIETARY_KHR);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user