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
This commit is contained in:
csmartdalton 2016-08-04 14:43:49 -07:00 committed by Commit bot
parent 52ad25151a
commit 3b88a03e98

View File

@ -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);
}