Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index d21ae5d4cd8f0d16ca4d13ec48a8b54a7ed364cb..d36c48d82e4db7f2859bc1845a5341755623849b 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -40,15 +40,10 @@ class GLBigKeyProcessor : public GrGLFragmentProcessor { |
public: |
GLBigKeyProcessor(const GrProcessor&) {} |
- virtual void emitCode(GrGLFPBuilder* builder, |
- const GrFragmentProcessor& fp, |
- const char* outputColor, |
- const char* inputColor, |
- const TransformedCoordsArray&, |
- const TextureSamplerArray&) { |
+ virtual void emitCode(EmitArgs& args) override { |
// pass through |
- GrGLFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |
- fsBuilder->codeAppendf("%s = %s;\n", outputColor, inputColor); |
+ GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
+ fsBuilder->codeAppendf("%s = %s;\n", args.fOutputColor, args.fInputColor); |
} |
static void GenKey(const GrProcessor& processor, const GrGLSLCaps&, GrProcessorKeyBuilder* b) { |