Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: src/gpu/gl/GrGLSL.h

Issue 580863004: Adding 3D lut color filter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: New version Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698