diff options
author | Michal Krol <[email protected]> | 2009-09-04 11:32:46 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-07 10:12:00 +0200 |
commit | 87d2de04fbb7d9ea8eae9c58f7c7fb842ffe06f6 (patch) | |
tree | 7b705dd03e7828dd394c416be6035948084bc54b /src/glsl/pp/sl_pp_token.h | |
parent | 94321b44416f47eb08bf72c93f4299ff7dc47017 (diff) |
glsl: Implement `extension' preprocessor directive.
No extensions supported.
Diffstat (limited to 'src/glsl/pp/sl_pp_token.h')
-rw-r--r-- | src/glsl/pp/sl_pp_token.h | 6 |
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 { |