summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-06-19 12:02:28 +0200
committerMichal Krol <michal@vmware.com>2009-09-07 10:11:45 +0200
commitfd991d845a5f639b9b675a4840ad234c151d56b4 (patch)
tree46a786562e309631fcdcb3e5ffaec820a4b4baef /src/glsl/pp/sl_pp_context.h
parent3ce5e668180748e2eccd1a8d3931ab98c2919df3 (diff)
glsl: Parse define directive in preprocessor.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index e4686b89e3..cb81f73ab9 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -28,11 +28,15 @@
#ifndef SL_PP_CONTEXT_H
#define SL_PP_CONTEXT_H
+#include "sl_pp_macro.h"
+
struct sl_pp_context {
char *cstr_pool;
unsigned int cstr_pool_max;
unsigned int cstr_pool_len;
+
+ struct sl_pp_macro *macro;
};
void