Index: src/gpu/effects/GrConstColorProcessor.cpp |
diff --git a/src/gpu/effects/GrConstColorProcessor.cpp b/src/gpu/effects/GrConstColorProcessor.cpp |
index a290b84971a07dea4da4debe3f87af36a9cfe048..5440dd31250bf293c6572f5c19a3ebc9e3c93b6a 100644 |
--- a/src/gpu/effects/GrConstColorProcessor.cpp |
+++ b/src/gpu/effects/GrConstColorProcessor.cpp |
@@ -7,7 +7,8 @@ |
#include "effects/GrConstColorProcessor.h" |
#include "gl/GrGLFragmentProcessor.h" |
-#include "gl/builders/GrGLProgramBuilder.h" |
+#include "glsl/GrGLSLFragmentShaderBuilder.h" |
+#include "glsl/GrGLSLProgramBuilder.h" |
#include "glsl/GrGLSLProgramDataManager.h" |
class GLConstColorProcessor : public GrGLFragmentProcessor { |
@@ -15,9 +16,9 @@ public: |
GLConstColorProcessor() : fPrevColor(GrColor_ILLEGAL) {} |
void emitCode(EmitArgs& args) override { |
- GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
+ GrGLSLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
const char* colorUni; |
- fColorUniform = args.fBuilder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
+ fColorUniform = args.fBuilder->addUniform(GrGLSLProgramBuilder::kFragment_Visibility, |
kVec4f_GrSLType, kMedium_GrSLPrecision, "constantColor", |
&colorUni); |
GrConstColorProcessor::InputMode mode = args.fFp.cast<GrConstColorProcessor>().inputMode(); |