glsl: add ir_emit_vertex and ir_end_primitive instruction types
[mesa.git] / src / mesa / state_tracker / st_cb_bitmap.h
index aae11d34c9222f935adafc1116900ee814519d1f..cc9f5f57464051dbfd4b803b4edfa0d1c0064d99 100644 (file)
 #define ST_CB_BITMAP_H
 
 
+#include "main/compiler.h"
+
+struct dd_function_table;
+struct st_context;
+struct gl_fragment_program;
+struct st_fragment_program;
+
 extern void
 st_init_bitmap_functions(struct dd_function_table *functions);
 
@@ -39,6 +46,12 @@ st_init_bitmap(struct st_context *st);
 extern void
 st_destroy_bitmap(struct st_context *st);
 
+extern void
+st_make_bitmap_fragment_program(struct st_context *st,
+                                struct gl_fragment_program *fpIn,
+                                struct gl_fragment_program **fpOut,
+                                GLuint *bitmap_sampler);
+
 extern void
 st_flush_bitmap_cache(struct st_context *st);