Index: src/gpu/gl/GrGLUniformHandler.cpp |
diff --git a/src/gpu/gl/GrGLUniformHandler.cpp b/src/gpu/gl/GrGLUniformHandler.cpp |
index 1ddb789668eb023050036b1d8f69e6d35607be18..5335c19da36648aec0847c8322159447f5187ecb 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 kVisibilityMask = kVertex_Visibility | kFragment_Visibility); |
SkASSERT(0 == (~kVisibilityMask & visibility)); |
SkASSERT(0 != visibility); |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type)); |
+ SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
UniformInfo& uni = fUniforms.push_back(); |
uni.fVariable.setType(type); |