summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2021-01-27 18:31:32 -0300
committerGravatar GitHub2021-01-27 13:31:32 -0800
commitef6cc3aa1dcb9f8983177a0471dbd8061c88753c (patch)
tree87839117cc4e6f59a2b5212b7737b7ace98dfbdd
parentMerge pull request #5778 from ReinUsesLisp/shader-dir (diff)
downloadyuzu-ef6cc3aa1dcb9f8983177a0471dbd8061c88753c.tar.gz
yuzu-ef6cc3aa1dcb9f8983177a0471dbd8061c88753c.tar.xz
yuzu-ef6cc3aa1dcb9f8983177a0471dbd8061c88753c.zip
vulkan_device: Blacklist Intel from float16 math (#5798)
Astral Chain crashes Intel's SPIR-V compiler when using fp16. Disable this while the vendor works on a fix.
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 5b4209c72..51f53bc39 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -421,6 +421,11 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
421 "Blacklisting RADV for VK_EXT_extended_dynamic state, likely due to a bug in yuzu"); 421 "Blacklisting RADV for VK_EXT_extended_dynamic state, likely due to a bug in yuzu");
422 ext_extended_dynamic_state = false; 422 ext_extended_dynamic_state = false;
423 } 423 }
424 if (is_float16_supported && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
425 // Intel's compiler crashes when using fp16 on Astral Chain, disable it for the time being.
426 LOG_WARNING(Render_Vulkan, "Blacklisting Intel proprietary from float16 math");
427 is_float16_supported = false;
428 }
424 429
425 graphics_queue = logical.GetQueue(graphics_family); 430 graphics_queue = logical.GetQueue(graphics_family);
426 present_queue = logical.GetQueue(present_family); 431 present_queue = logical.GetQueue(present_family);