vk: Fix VEGA float16 workaround
This commit is contained in:
@@ -202,7 +202,7 @@ namespace vk
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (get_chip_class() == chip_class::AMD_vega)
|
if (get_chip_class() == chip_class::AMD_vega && shader_types_support.allow_float16)
|
||||||
{
|
{
|
||||||
// Disable fp16 if driver uses LLVM emitter. It does fine with AMD proprietary drivers though.
|
// 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);
|
shader_types_support.allow_float16 = (driver_properties.driverID == VK_DRIVER_ID_AMD_PROPRIETARY_KHR);
|
||||||
|
|||||||
Reference in New Issue
Block a user