Index: src/gpu/gl/GrGLUniformHandler.cpp |
diff --git a/src/gpu/gl/GrGLUniformHandler.cpp b/src/gpu/gl/GrGLUniformHandler.cpp |
index 856afb4b9a4b630b1624eb5099992f30608cd54b..7f6f106964dc192dad3691b73ad1b43c1fe74782 100644 |
--- a/src/gpu/gl/GrGLUniformHandler.cpp |
+++ b/src/gpu/gl/GrGLUniformHandler.cpp |
@@ -26,7 +26,7 @@ GrGLSLUniformHandler::UniformHandle GrGLUniformHandler::internalAddUniformArray( |
SkDEBUGCODE(static const uint32_t kVisMask = kVertex_GrShaderFlag | kFragment_GrShaderFlag); |
SkASSERT(0 == (~kVisMask & visibility)); |
SkASSERT(0 != visibility); |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
+ SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeAcceptsPrecision(type)); |
UniformInfo& uni = fUniforms.push_back(); |
uni.fVariable.setType(type); |