diff options
Diffstat (limited to 'src/gpu/glsl/GrGLSL.h')
-rw-r--r-- | src/gpu/glsl/GrGLSL.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/glsl/GrGLSL.h b/src/gpu/glsl/GrGLSL.h index d27b25f293..417f6d78d2 100644 --- a/src/gpu/glsl/GrGLSL.h +++ b/src/gpu/glsl/GrGLSL.h @@ -121,6 +121,10 @@ static inline const char* GrGLSLTypeString(GrSLType t) { return "texture2D"; case kSampler_GrSLType: return "sampler"; + case kImageStorage2D_GrSLType: + return "image2D"; + case kIImageStorage2D_GrSLType: + return "iimage2D"; } SkFAIL("Unknown shader var type."); return ""; // suppress warning |