From 3b88a03e987d4be17b46da1dd646c663d324d2ae Mon Sep 17 00:00:00 2001 From: csmartdalton Date: Thu, 4 Aug 2016 14:43:49 -0700 Subject: [PATCH] Remove color-dodge/burn from NVIDIA blacklist on 355.00+ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2212593002 Review-Url: https://codereview.chromium.org/2212593002 --- src/gpu/gl/GrGLCaps.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 5a1a5b459b..ea02d21c90 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -972,8 +972,9 @@ void GrGLCaps::initBlendEqationSupport(const GrGLContextInfo& ctxInfo) { SkASSERT(this->advancedBlendEquationSupport()); - if (kNVIDIA_GrGLDriver == ctxInfo.driver()) { - // Blacklist color-dodge and color-burn on NVIDIA until the fix is released. + if (kNVIDIA_GrGLDriver == ctxInfo.driver() && + ctxInfo.driverVersion() < GR_GL_DRIVER_VER(355,00)) { + // Blacklist color-dodge and color-burn on pre-355.00 NVIDIA. fAdvBlendEqBlacklist |= (1 << kColorDodge_GrBlendEquation) | (1 << kColorBurn_GrBlendEquation); }