i965: Push down inclusion of brw_program.h.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_gs.h
index 5d4244edf8588b34be59076c937b481ceed3fed9..13d6be8029b9ee1d178ff45a68698413b2a090cf 100644 (file)
 
 #include <stdbool.h>
 
+#include "brw_context.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct gl_context;
 struct gl_shader_program;
 
-bool brw_gs_precompile(struct gl_context *ctx, struct gl_shader_program *prog);
-bool brw_gs_prog_data_compare(const void *a, const void *b);
+void
+brw_upload_gs_prog(struct brw_context *brw);
+
+bool
+brw_codegen_gs_prog(struct brw_context *brw,
+                    struct gl_shader_program *prog,
+                    struct brw_geometry_program *gp,
+                    struct brw_gs_prog_key *key);
 
 #ifdef __cplusplus
 } /* extern "C" */