Chromium Code Reviews| Index: src/gpu/gl/GrGLSL.h |
| diff --git a/src/gpu/gl/GrGLSL.h b/src/gpu/gl/GrGLSL.h |
| index ff39c2b68007f6dc6774f42df829737902a833e1..9e8c7c678205bbb16d72ae6d7eeb979097d90f70 100644 |
| --- a/src/gpu/gl/GrGLSL.h |
| +++ b/src/gpu/gl/GrGLSL.h |
| @@ -69,6 +69,8 @@ static inline const char* GrGLSLTypeString(GrSLType t) { |
| return "mat4"; |
| case kSampler2D_GrSLType: |
| return "sampler2D"; |
| + case kSampler3D_GrSLType: |
| + return "sampler3D"; |
| default: |
| SkFAIL("Unknown shader var type."); |
| return ""; // suppress warning |