From db810956ec74b094c006cddf6854d626e0991221 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 19 Sep 2017 21:11:33 +1000 Subject: Vulkan: Provide a more accurate method of detecting drivers/vendors This is needed to differentiate between the open-source Mesa drivers and their binary counterparts for Intel and AMD. --- Source/Core/VideoCommon/DriverDetails.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'Source/Core/VideoCommon/DriverDetails.cpp') diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index 8fd990395d..ce595738bc 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -165,34 +165,4 @@ bool HasBug(Bug bug) return false; return it->second.m_hasbug; } - -Vendor TranslatePCIVendorID(u32 vendor_id) -{ - switch (vendor_id) - { - case 0x10DE: - return VENDOR_NVIDIA; - - case 0x1002: - case 0x1022: - return VENDOR_ATI; - - case 0x8086: - case 0x8087: - return VENDOR_INTEL; - - // TODO: Is this correct for Mali? - case 0x13B6: - return VENDOR_ARM; - - case 0x5143: - return VENDOR_QUALCOMM; - - case 0x1010: - return VENDOR_IMGTEC; - - default: - return VENDOR_UNKNOWN; - } -} } -- cgit v1.2.3 From 51e4014a35ceb51bb039b55cd24ead71e4fe0731 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 14 Mar 2018 02:49:32 +1000 Subject: DriverDetails: Disable primitive restart on Vulkan with Mali driver --- Source/Core/VideoCommon/DriverDetails.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/DriverDetails.cpp') diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index ce595738bc..b1440f8788 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -100,6 +100,8 @@ static BugInfo m_known_bugs[] = { BUG_BROKEN_BITWISE_OP_NEGATION, -1.0, 108.4693462, true}, {API_VULKAN, OS_ALL, VENDOR_ATI, DRIVER_ATI, Family::UNKNOWN, BUG_PRIMITIVE_RESTART, -1.0, -1.0, true}, + {API_VULKAN, OS_ALL, VENDOR_ARM, DRIVER_ARM, Family::UNKNOWN, BUG_PRIMITIVE_RESTART, -1.0, -1.0, + true}, {API_OPENGL, OS_LINUX, VENDOR_MESA, DRIVER_I965, Family::UNKNOWN, BUG_SHARED_CONTEXT_SHADER_COMPILATION, -1.0, -1.0, true}, {API_VULKAN, OS_ALL, VENDOR_NVIDIA, DRIVER_NVIDIA, Family::UNKNOWN, BUG_BROKEN_MSAA_CLEAR, -1.0, -- cgit v1.2.3