Index: src/gpu/glsl/GrGLSLProgramBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.cpp b/src/gpu/glsl/GrGLSLProgramBuilder.cpp |
index bc0208321cbc3e2ae1ad330b41342185f98975e5..7116d193f4609aab97dc0764206e4e748b8574e8 100644 |
--- a/src/gpu/glsl/GrGLSLProgramBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLProgramBuilder.cpp |
@@ -240,7 +240,7 @@ void GrGLSLProgramBuilder::emitSamplers(const GrProcessor& processor, |
name.printf("Sampler%d", t); |
localSamplerUniforms[t] = this->uniformHandler()->addUniform(access.getVisibility(), |
samplerType, |
- kDefault_GrSLPrecision, |
+ access.getPrecision(), |
name.c_str()); |
outSamplers->emplace_back(localSamplerUniforms[t], access); |
} |