mesa: fix fallthrough in glformats
[mesa.git] / src / mesa / state_tracker / st_cb_bitmap.h
index dc7e5cb5c9ead75492e38c0fe5d3423b696d6344..d2b53c9bcaab70456a175bb81552936e9aee5bb6 100644 (file)
 #define ST_CB_BITMAP_H
 
 
-#include "main/compiler.h"
 #include <stdbool.h>
 
 struct dd_function_table;
 struct st_context;
-struct gl_fragment_program;
-struct st_fragment_program;
+struct gl_program;
+struct st_program;
 
 extern void
 st_init_bitmap_functions(struct dd_function_table *functions);
 
-extern void
-st_init_bitmap(struct st_context *st);
-
 extern void
 st_destroy_bitmap(struct st_context *st);
 
@@ -52,7 +48,7 @@ st_flush_bitmap_cache(struct st_context *st);
 
 extern const struct tgsi_token *
 st_get_bitmap_shader(const struct tgsi_token *tokens,
-                     unsigned sampler_index,
+                     unsigned tex_target, unsigned sampler_index,
                      bool use_texcoord, bool swizzle_xxxx);
 
 #endif /* ST_CB_BITMAP_H */