summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_public.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-12-10 12:38:22 +0100
committerMichal Krol <michal@vmware.com>2009-12-10 12:38:22 +0100
commit91e164b3d0b1d36bfdf369266ae7e1ab396f1ba2 (patch)
treed8ed4e74e470d2c9b9bf9ad3d4ad0829dc4da0ba /src/glsl/pp/sl_pp_public.h
parent068596c9a7e8d330ffdff8ad8700bd6093b5bdea (diff)
glsl/pp: Add sl_pp_context_add_extension().
This way third parties are able to add supported extension strings.
Diffstat (limited to 'src/glsl/pp/sl_pp_public.h')
-rw-r--r--src/glsl/pp/sl_pp_public.h5
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 8317c7e378..20f208975e 100644
--- a/src/glsl/pp/sl_pp_public.h
+++ b/src/glsl/pp/sl_pp_public.h
@@ -46,6 +46,11 @@ const char *
sl_pp_context_error_message(const struct sl_pp_context *context);
int
+sl_pp_context_add_extension(struct sl_pp_context *context,
+ const char *name,
+ const char *name_string);
+
+int
sl_pp_context_add_unique_str(struct sl_pp_context *context,
const char *str);