Index: src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
diff --git a/src/gpu/glsl/GrGLSLGeometryProcessor.cpp b/src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
index 967c18d284724d2c29257d75174e24ef00134d61..b8951be551add38532e41b02f6e970dec80cef1c 100644 |
--- a/src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
+++ b/src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
@@ -50,7 +50,7 @@ void GrGLSLGeometryProcessor::emitTransforms(GrGLSLVertexBuilder* vb, |
const char* uniName; |
fInstalledTransforms[i][t].fHandle = |
- uniformHandler->addUniform(GrGLSLUniformHandler::kVertex_Visibility, |
+ uniformHandler->addUniform(kVertex_GrShaderFlag, |
kMat33f_GrSLType, precision, |
strUniName.c_str(), |
&uniName).toIndex(); |
@@ -139,7 +139,7 @@ void GrGLSLGeometryProcessor::setupPosition(GrGLSLVertexBuilder* vertBuilder, |
vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); |
} else { |
const char* viewMatrixName; |
- *viewMatrixUniform = uniformHandler->addUniform(GrGLSLUniformHandler::kVertex_Visibility, |
+ *viewMatrixUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, |
kMat33f_GrSLType, kHigh_GrSLPrecision, |
"uViewM", |
&viewMatrixName); |