diff options
author | Michal Krol <[email protected]> | 2009-12-10 12:58:21 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-10 12:58:21 +0100 |
commit | 22200bcafcc77ecdca0127ac72d68e75e2ad7aee (patch) | |
tree | b5fa3b278cda2f036bcff291cd86b4377ebcb379 /src/glsl/pp/sl_pp_public.h | |
parent | d1a09a9ba4a56067cc41e87d00fd7c395f0e7345 (diff) |
glsl/pp: Add support for user-defined macros.
Diffstat (limited to 'src/glsl/pp/sl_pp_public.h')
-rw-r--r-- | src/glsl/pp/sl_pp_public.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_public.h b/src/glsl/pp/sl_pp_public.h index 20f208975e4..076903649cd 100644 --- a/src/glsl/pp/sl_pp_public.h +++ b/src/glsl/pp/sl_pp_public.h @@ -51,6 +51,11 @@ sl_pp_context_add_extension(struct sl_pp_context *context, const char *name_string); int +sl_pp_context_add_predefined(struct sl_pp_context *context, + const char *name, + const char *value); + +int sl_pp_context_add_unique_str(struct sl_pp_context *context, const char *str); |