Index: src/gpu/glsl/GrGLSL.h |
diff --git a/src/gpu/glsl/GrGLSL.h b/src/gpu/glsl/GrGLSL.h |
index f2accc54e954c35fe4b7e15d27ed0cc8ec5c2ea4..dc53d7befaa65e551d77058c7854f5ba0691fd72 100644 |
--- a/src/gpu/glsl/GrGLSL.h |
+++ b/src/gpu/glsl/GrGLSL.h |
@@ -100,6 +100,10 @@ static inline const char* GrGLSLTypeString(GrSLType t) { |
return "samplerExternalOES"; |
case kSampler2DRect_GrSLType: |
return "sampler2DRect"; |
+ case kBool_GrSLType: |
+ return "bool"; |
+ case kInt_GrSLType: |
+ return "int"; |
default: |
SkFAIL("Unknown shader var type."); |
return ""; // suppress warning |