summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-12-20 21:11:16 +0100
committerMichal Krol <michal@vmware.com>2009-12-20 21:19:07 +0100
commitd801c296c602d04055b02b3be2f1369bfe1092b7 (patch)
tree64bf10e1d5452e49f0f7dfaabfdece196209b2b1 /src/glsl/pp/sl_pp_context.h
parent5fb345c4221679b8b2d468eb216f9ab1bd4c8ebf (diff)
glsl: Do syntax parsing inline with processing.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index 5e1c563048..3eada380cd 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -30,6 +30,7 @@
#include "sl_pp_dict.h"
#include "sl_pp_macro.h"
+#include "sl_pp_process.h"
#include "sl_pp_purify.h"
#include "sl_pp_token_util.h"
@@ -84,6 +85,8 @@ struct sl_pp_context {
unsigned int getc_buf_capacity;
struct sl_pp_token_buffer tokens;
+
+ struct sl_pp_process_state process_state;
};
#endif /* SL_PP_CONTEXT_H */