Remove shader caps argument from GrGLSLTypeString
Bug: skia:
Change-Id: I5a848055b5d59df24365992dcd259ec9bd0f8c61
Reviewed-on: https://skia-review.googlesource.com/c/192083
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/glsl/GrGLSLShaderBuilder.cpp b/src/gpu/glsl/GrGLSLShaderBuilder.cpp
index fd9669a..96eb4fd 100644
--- a/src/gpu/glsl/GrGLSLShaderBuilder.cpp
+++ b/src/gpu/glsl/GrGLSLShaderBuilder.cpp
@@ -46,7 +46,7 @@
const GrShaderVar* args,
const char* body,
SkString* outName) {
- this->functions().append(GrGLSLTypeString(fProgramBuilder->shaderCaps(), returnType));
+ this->functions().append(GrGLSLTypeString(returnType));
fProgramBuilder->nameVariable(outName, '\0', name);
this->functions().appendf(" %s", outName->c_str());
this->functions().append("(");