summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_process.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-09-04 11:58:19 +0200
committerMichal Krol <michal@vmware.com>2009-09-07 10:12:03 +0200
commitbb8f38ea6f71179cd4adb0ca33c464716be17dcb (patch)
tree9e4df396508bbbf2c764a2346ae6f33653e4d809 /src/glsl/pp/sl_pp_process.h
parentddd8ae7fbc643892b08ddf66c67bca36d42b53a6 (diff)
glsl: Implement `line' preprocessor directive.
Diffstat (limited to 'src/glsl/pp/sl_pp_process.h')
-rw-r--r--src/glsl/pp/sl_pp_process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_process.h b/src/glsl/pp/sl_pp_process.h
index 5891866543..6f90fbd3e7 100644
--- a/src/glsl/pp/sl_pp_process.h
+++ b/src/glsl/pp/sl_pp_process.h
@@ -113,6 +113,12 @@ sl_pp_process_extension(struct sl_pp_context *context,
struct sl_pp_process_state *state);
int
+sl_pp_process_line(struct sl_pp_context *context,
+ const struct sl_pp_token_info *input,
+ unsigned int first,
+ unsigned int last);
+
+int
sl_pp_process_out(struct sl_pp_process_state *state,
const struct sl_pp_token_info *token);