| Index: src/gpu/effects/GrSimpleTextureEffect.cpp
|
| diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp
|
| index 89b354632a23a672789f79317328c24568802561..c1bc6dff306769ccff0014e2b93d6fecb33378ad 100644
|
| --- a/src/gpu/effects/GrSimpleTextureEffect.cpp
|
| +++ b/src/gpu/effects/GrSimpleTextureEffect.cpp
|
| @@ -11,14 +11,15 @@
|
| #include "gl/GrGLCaps.h"
|
| #include "gl/GrGLFragmentProcessor.h"
|
| #include "gl/GrGLTexture.h"
|
| -#include "gl/builders/GrGLProgramBuilder.h"
|
| +#include "glsl/GrGLSLFragmentShaderBuilder.h"
|
| +#include "glsl/GrGLSLProgramBuilder.h"
|
|
|
| class GrGLSimpleTextureEffect : public GrGLFragmentProcessor {
|
| public:
|
| GrGLSimpleTextureEffect(const GrProcessor&) {}
|
|
|
| virtual void emitCode(EmitArgs& args) override {
|
| - GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder();
|
| + GrGLSLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder();
|
| fsBuilder->codeAppendf("\t%s = ", args.fOutputColor);
|
| fsBuilder->appendTextureLookupAndModulate(args.fInputColor,
|
| args.fSamplers[0],
|
| @@ -38,7 +39,7 @@ void GrSimpleTextureEffect::onComputeInvariantOutput(GrInvariantOutput* inout) c
|
| }
|
|
|
| void GrSimpleTextureEffect::onGetGLProcessorKey(const GrGLSLCaps& caps,
|
| - GrProcessorKeyBuilder* b) const {
|
| + GrProcessorKeyBuilder* b) const {
|
| GrGLSimpleTextureEffect::GenKey(*this, caps, b);
|
| }
|
|
|
|
|