mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12: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
1 changed files with 2 additions and 2 deletions
|
@ -600,8 +600,8 @@ private:
|
||||||
|
|
||||||
if (get_chip_class() == chip_class::AMD_vega)
|
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.");
|
// Disable fp16 if driver uses LLVM emitter. It does fine with AMD proprietary drivers though.
|
||||||
shader_types_support.allow_float16 = false;
|
shader_types_support.allow_float16 = (driver_properties.driverID == VK_DRIVER_ID_AMD_PROPRIETARY_KHR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue