summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_process.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-09-04 08:14:48 +0200
committerMichal Krol <michal@vmware.com>2009-09-07 10:11:55 +0200
commitf9bd6f7152047e6230c85d76e412a5bb524e0413 (patch)
tree1d6e2b6bb1d60c1eb586961b4255b5d829b710a6 /src/glsl/pp/sl_pp_process.h
parent3dc2b5f71c2a519409becb6c1f177b5981fbacf7 (diff)
glsl: Implement `error' 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 61e67fef0b..11a94921d8 100644
--- a/src/glsl/pp/sl_pp_process.h
+++ b/src/glsl/pp/sl_pp_process.h
@@ -92,6 +92,12 @@ sl_pp_process_endif(struct sl_pp_context *context,
unsigned int first,
unsigned int last);
+void
+sl_pp_process_error(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);