diff options
author | Michal Krol <[email protected]> | 2009-12-20 13:50:16 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-20 21:18:59 +0100 |
commit | d696cb279d80ccddebcb28ef6b6284bc6bb9430f (patch) | |
tree | c2607d192b151b474f80a154c8c9c846507df604 /src/glsl/pp/sl_pp_process.h | |
parent | 7631dca25bd390901036b48709e243db961d3a1f (diff) |
glsl/pp: Do processing inline with tokenisation.
Diffstat (limited to 'src/glsl/pp/sl_pp_process.h')
-rw-r--r-- | src/glsl/pp/sl_pp_process.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/glsl/pp/sl_pp_process.h b/src/glsl/pp/sl_pp_process.h index 24311bab603..31defd911a3 100644 --- a/src/glsl/pp/sl_pp_process.h +++ b/src/glsl/pp/sl_pp_process.h @@ -53,9 +53,7 @@ sl_pp_process_undef(struct sl_pp_context *context, int sl_pp_process_if(struct sl_pp_context *context, - const struct sl_pp_token_info *input, - unsigned int first, - unsigned int last); + struct sl_pp_token_buffer *input); int sl_pp_process_ifdef(struct sl_pp_context *context, @@ -71,9 +69,7 @@ sl_pp_process_ifndef(struct sl_pp_context *context, int sl_pp_process_elif(struct sl_pp_context *context, - const struct sl_pp_token_info *input, - unsigned int first, - unsigned int last); + struct sl_pp_token_buffer *buffer); int sl_pp_process_else(struct sl_pp_context *context, @@ -109,9 +105,7 @@ sl_pp_process_extension(struct sl_pp_context *context, int sl_pp_process_line(struct sl_pp_context *context, - const struct sl_pp_token_info *input, - unsigned int first, - unsigned int last, + struct sl_pp_token_buffer *buffer, struct sl_pp_process_state *state); int |