summaryrefslogtreecommitdiff
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index a53720be80..566274ea90 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -88,6 +88,9 @@ enum sl_pp_token {
SL_PP_OTHER,
+ SL_PP_PRAGMA_OPTIMIZE,
+ SL_PP_PRAGMA_DEBUG,
+
SL_PP_EOF
};
@@ -95,6 +98,7 @@ union sl_pp_token_data {
int identifier;
int number;
char other;
+ int pragma;
};
struct sl_pp_token_info {