glsl/pp: Add sl_pp_context_add_extension().
[mesa.git] / src / glsl / pp / sl_pp_public.h
index 8317c7e378ab06a153724a184e92c738a746bc68..20f208975e4d2bc789a2ff23f7d5faeeaaadffd0 100644 (file)
@@ -45,6 +45,11 @@ sl_pp_context_destroy(struct sl_pp_context *context);
 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);