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

Unified Diff: src/sksl/SkSLToken.h

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/SkSLSPIRVCodeGenerator.cpp ('k') | src/sksl/SkSLUtil.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sksl/SkSLToken.h
diff --git a/src/sksl/SkSLToken.h b/src/sksl/SkSLToken.h
index 538ae50a1a2dc165fb9ef81d7e3f4f23388602dc..29fa81e2e06ade7b9f8bddcef5567fafafb4ac69 100644
--- a/src/sksl/SkSLToken.h
+++ b/src/sksl/SkSLToken.h
@@ -13,6 +13,10 @@
namespace SkSL {
+#undef IN
+#undef OUT
+#undef CONST
+
/**
* Represents a lexical analysis token. Token is generally only used during the parse process, but
* Token::Kind is also used to represent operator kinds.
@@ -89,6 +93,8 @@ struct Token {
MEDIUMP,
HIGHP,
UNIFORM,
+ FLAT,
+ NOPERSPECTIVE,
STRUCT,
LAYOUT,
DIRECTIVE,
« no previous file with comments | « src/sksl/SkSLSPIRVCodeGenerator.cpp ('k') | src/sksl/SkSLUtil.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698