From 656ec18ded04913d3f7b9268c4ed93bb38ecfffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 15 Nov 2017 10:24:11 +0100 Subject: [PATCH] Vulkan: Dual Src blending strikes again! Disable it on nVidia X1 (Shield TV) due to driver bugs, sigh. Should help #10136 --- GPU/Vulkan/GPU_Vulkan.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/GPU/Vulkan/GPU_Vulkan.cpp b/GPU/Vulkan/GPU_Vulkan.cpp index 42474eba55..371a55fe92 100644 --- a/GPU/Vulkan/GPU_Vulkan.cpp +++ b/GPU/Vulkan/GPU_Vulkan.cpp @@ -181,8 +181,13 @@ void GPU_Vulkan::CheckGPUFeatures() { } if (vulkan_->GetFeaturesEnabled().dualSrcBlend) { switch (vulkan_->GetPhysicalDeviceProperties().vendorID) { + case VULKAN_VENDOR_NVIDIA: + // Workaround for Shield TV driver bug. + if (strcmp(vulkan_->GetPhysicalDeviceProperties().deviceName, "NVIDIA Tegra X1") != 0) + features |= GPU_SUPPORTS_DUALSOURCE_BLEND; + break; case VULKAN_VENDOR_INTEL: - // Work around for Intel driver bug. + // Workaround for Intel driver bug. break; case VULKAN_VENDOR_AMD: // See issue #10074, and also #10065 (AMD) and #10109 for the choice of the driver version to check for