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

Unified Diff: src/sksl/sksl_frag.include

Issue 2288033003: Turned on SkSL->GLSL compiler (Closed)
Patch Set: fixed unused variable error Created 4 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/sksl/sksl_frag.include
diff --git a/src/sksl/sksl_frag.include b/src/sksl/sksl_frag.include
index b4047fe09199801824cc38897c717bf6032df32b..d6c438910f44fd445bd2704a41d5513783512b9c 100644
--- a/src/sksl/sksl_frag.include
+++ b/src/sksl/sksl_frag.include
@@ -4,4 +4,6 @@ STRINGIFY(
layout(builtin=15) in vec4 gl_FragCoord;
+layout(builtin=10001) vec4 sk_FragColor;
+
)
« src/gpu/gl/GrGLContext.h ('K') | « src/sksl/SkSLUtil.cpp ('k') | tests/SkSLGLSLTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698