Index: src/gpu/glsl/GrGLSLXferProcessor.h |
diff --git a/src/gpu/glsl/GrGLSLXferProcessor.h b/src/gpu/glsl/GrGLSLXferProcessor.h |
index f4a8ebdfa029b0d6d5fbc11cf09463dbe8c2c019..adc3d417658b46c85f7c054acc5248a86d88d31c 100644 |
--- a/src/gpu/glsl/GrGLSLXferProcessor.h |
+++ b/src/gpu/glsl/GrGLSLXferProcessor.h |
@@ -22,8 +22,7 @@ |
GrGLSLXferProcessor() {} |
virtual ~GrGLSLXferProcessor() {} |
- typedef GrGLSLProgramDataManager::UniformHandle SamplerHandle; |
- |
+ typedef GrGLSLSampler::SamplerArray SamplerArray; |
struct EmitArgs { |
EmitArgs(GrGLSLXPFragmentBuilder* fragBuilder, |
GrGLSLUniformHandler* uniformHandler, |
@@ -33,8 +32,8 @@ |
const char* inputCoverage, |
const char* outputPrimary, |
const char* outputSecondary, |
- const SamplerHandle* texSamplers, |
- const SamplerHandle* bufferSamplers, |
+ const SamplerArray& texSamplers, |
+ const SamplerArray& bufferSamplers, |
const bool usePLSDstRead) |
: fXPFragBuilder(fragBuilder) |
, fUniformHandler(uniformHandler) |
@@ -56,8 +55,8 @@ |
const char* fInputCoverage; |
const char* fOutputPrimary; |
const char* fOutputSecondary; |
- const SamplerHandle* fTexSamplers; |
- const SamplerHandle* fBufferSamplers; |
+ const SamplerArray& fTexSamplers; |
+ const SamplerArray& fBufferSamplers; |
bool fUsePLSDstRead; |
}; |
/** |