Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index cbcc6bc439365f0e18457add2e2cf916dd6c9842..bb72b82628e08ccad5b309bf4f406d0da19a307a 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -312,19 +312,19 @@ void GLColorTableEffect::emitCode(GrGLShaderBuilder* builder, |
} |
builder->fsCodeAppendf("\t\t%s.a = ", outputColor); |
- builder->appendTextureLookup(GrGLShaderBuilder::kFragment_ShaderType, samplers[0], "vec2(coord.a, 0.125)"); |
+ builder->fsAppendTextureLookup(samplers[0], "vec2(coord.a, 0.125)"); |
builder->fsCodeAppend(";\n"); |
builder->fsCodeAppendf("\t\t%s.r = ", outputColor); |
- builder->appendTextureLookup(GrGLShaderBuilder::kFragment_ShaderType, samplers[0], "vec2(coord.r, 0.375)"); |
+ builder->fsAppendTextureLookup(samplers[0], "vec2(coord.r, 0.375)"); |
builder->fsCodeAppend(";\n"); |
builder->fsCodeAppendf("\t\t%s.g = ", outputColor); |
- builder->appendTextureLookup(GrGLShaderBuilder::kFragment_ShaderType, samplers[0], "vec2(coord.g, 0.625)"); |
+ builder->fsAppendTextureLookup(samplers[0], "vec2(coord.g, 0.625)"); |
builder->fsCodeAppend(";\n"); |
builder->fsCodeAppendf("\t\t%s.b = ", outputColor); |
- builder->appendTextureLookup(GrGLShaderBuilder::kFragment_ShaderType, samplers[0], "vec2(coord.b, 0.875)"); |
+ builder->fsAppendTextureLookup(samplers[0], "vec2(coord.b, 0.875)"); |
builder->fsCodeAppend(";\n"); |
builder->fsCodeAppendf("\t\t%s.rgb *= %s.a;\n", outputColor, outputColor); |