From 721d319c7bc130d7873ba4bc05a9355ba2ecd557 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 31 Dec 2015 10:14:14 -0600 Subject: [PATCH] Add a comment to DriverDetails about Qualcomm failing our alpha tests. --- Source/Core/VideoCommon/DriverDetails.cpp | 1 + Source/Core/VideoCommon/DriverDetails.h | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index cb9d01ba35..0def5e5734 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -45,6 +45,7 @@ namespace DriverDetails {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM, -1, BUG_BROKENBUFFERSTREAM, -1.0, -1.0, true}, {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM, -1, BUG_BROKENNEGATEDBOOLEAN,-1.0, -1.0, true}, {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM, -1, BUG_BROKENGLES31, -1.0, -1.0, true}, + {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM, -1, BUG_BROKENALPHATEST, -1.0, -1.0, true}, {OS_ALL, VENDOR_ARM, DRIVER_ARM, -1, BUG_BROKENBUFFERSTREAM, -1.0, -1.0, true}, {OS_ALL, VENDOR_ARM, DRIVER_ARM, -1, BUG_BROKENVSYNC, -1.0, -1.0, true}, {OS_ALL, VENDOR_IMGTEC, DRIVER_IMGTEC, -1, BUG_BROKENBUFFERSTREAM, -1.0, -1.0, true}, diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index 9a2ed2086e..cf519fd506 100644 --- a/Source/Core/VideoCommon/DriverDetails.h +++ b/Source/Core/VideoCommon/DriverDetails.h @@ -169,6 +169,17 @@ namespace DriverDetails // We can't actually detect what the driver version is on Android, so until the driver version lands that displays the version in // the GL_VERSION string, we will have to force vsync to be enabled at all times. BUG_BROKENVSYNC, + + // Bug: Adreno has a broken alpha test + // Affected Devices: Adreno + // Started Version: v103 confirmed (v95 potentially as well?) + // Ended Version: -1 + // The Qualcomm video drivers have somehow managed to hit a situation where in a certain situation the alpha test + // always evaluates to false for some reason. + // This has yet to be tracked as to why they fail at such a simple check + // Example alpha test path + // if(( (prev.a > alphaRef.r) && (prev.a > alphaRef.g)) == false) { + BUG_BROKENALPHATEST, }; // Initializes our internal vendor, device family, and driver version