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

Unified Diff: src/sksl/sksl.flex

Issue 2185393003: added initial GLSL support to skslc (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixed gn build Created 4 years, 4 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
« no previous file with comments | « src/sksl/lex.sksl.c ('k') | tests/SkSLGLSLTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sksl/sksl.flex
diff --git a/src/sksl/sksl.flex b/src/sksl/sksl.flex
index cbc938a3bbaa17b0105ac9fa4234a1073e50df2f..67b48e9cb92f7fa2e9d1d0624bc1021cee69a0e4 100644
--- a/src/sksl/sksl.flex
+++ b/src/sksl/sksl.flex
@@ -68,6 +68,10 @@ mediump { return SkSL::Token::MEDIUMP; }
highp { return SkSL::Token::HIGHP; }
+flat { return SkSL::Token::FLAT; }
+
+noperspective { return SkSL::Token::NOPERSPECTIVE; }
+
struct { return SkSL::Token::STRUCT; }
layout { return SkSL::Token::LAYOUT; }
« no previous file with comments | « src/sksl/lex.sksl.c ('k') | tests/SkSLGLSLTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698