summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_token.h')
-rw-r--r--src/glsl/pp/sl_pp_token.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index 566274ea90e..7b60183a041 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -91,6 +91,11 @@ enum sl_pp_token {
SL_PP_PRAGMA_OPTIMIZE,
SL_PP_PRAGMA_DEBUG,
+ SL_PP_EXTENSION_REQUIRE,
+ SL_PP_EXTENSION_ENABLE,
+ SL_PP_EXTENSION_WARN,
+ SL_PP_EXTENSION_DISABLE,
+
SL_PP_EOF
};
@@ -99,6 +104,7 @@ union sl_pp_token_data {
int number;
char other;
int pragma;
+ int extension;
};
struct sl_pp_token_info {