From 27047bb3dcc5ea36e2f4ba32c985b9beb36c45f0 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 25 Jul 2024 12:48:10 +0300 Subject: [PATCH] vk: Fix VEGA float16 workaround --- rpcs3/Emu/RSX/VK/vkutils/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/vkutils/device.cpp b/rpcs3/Emu/RSX/VK/vkutils/device.cpp index f1c8964d35..6fcc22a98d 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/device.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/device.cpp @@ -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. shader_types_support.allow_float16 = (driver_properties.driverID == VK_DRIVER_ID_AMD_PROPRIETARY_KHR);