From 7bdb05d5c294eb332a18d09b81a99ed1125c9525 Mon Sep 17 00:00:00 2001 From: kkinnunen Date: Mon, 25 Jan 2016 00:47:23 -0800 Subject: [PATCH] Do not try to get fragment input locations with CHROMIUM_path_rendering Do not try to get fragment input locations with CHROMIUM_path_rendering, it uses the binding mechanism in CHROMIUM_path_rendering BUG=skia:2992 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1618773002 Review URL: https://codereview.chromium.org/1618773002 --- src/gpu/gl/builders/GrGLProgramBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp index 18d1917..52ef7b5 100644 --- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp +++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp @@ -234,7 +234,7 @@ void GrGLProgramBuilder::resolveProgramResourceLocations(GrGLuint programID) { // handle NVPR separable varyings if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || - !fGpu->glPathRendering()->shouldBindFragmentInputs()) { + fGpu->glPathRendering()->shouldBindFragmentInputs()) { return; } int count = fVaryingHandler.fPathProcVaryingInfos.count(); -- 2.7.4