Index: src/gpu/glsl/GrGLSLFragmentProcessor.h |
diff --git a/src/gpu/glsl/GrGLSLFragmentProcessor.h b/src/gpu/glsl/GrGLSLFragmentProcessor.h |
index 816b648c47fd9fea634ae39399240b93ce6dd389..0fd1ae3c32f757b45d814f41c7d7e7a14d03148b 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentProcessor.h |
+++ b/src/gpu/glsl/GrGLSLFragmentProcessor.h |
@@ -53,6 +53,7 @@ public: |
struct EmitArgs { |
EmitArgs(GrGLSLFPBuilder* builder, |
GrGLSLFragmentBuilder* fragBuilder, |
+ const GrGLSLCaps* caps, |
const GrFragmentProcessor& fp, |
const char* outputColor, |
const char* inputColor, |
@@ -60,6 +61,7 @@ public: |
const TextureSamplerArray& samplers) |
: fBuilder(builder) |
, fFragBuilder(fragBuilder) |
+ , fGLSLCaps(caps) |
, fFp(fp) |
, fOutputColor(outputColor) |
, fInputColor(inputColor) |
@@ -67,6 +69,7 @@ public: |
, fSamplers(samplers) {} |
GrGLSLFPBuilder* fBuilder; |
GrGLSLFragmentBuilder* fFragBuilder; |
+ const GrGLSLCaps* fGLSLCaps; |
const GrFragmentProcessor& fFp; |
const char* fOutputColor; |
const char* fInputColor; |