i965: Use force_compat_profile driconf option
[mesa.git] / src / mesa / drivers / dri / i965 / brw_gs.h
index 573bbdb16f8e34605f374e52099713afde105058..7dab548e4b339e3fefd4191582e12d8c6a6297ca 100644 (file)
 #include <stdbool.h>
 
 #include "brw_context.h"
-#include "brw_program.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct gl_context;
 struct gl_shader_program;
-struct gl_program;
-
-struct brw_gs_compile_output {
-   void *mem_ctx;
-   const void *program;
-   uint32_t program_size;
-   struct brw_gs_prog_data prog_data;
-};
-
-struct brw_gs_prog_key;
-
-bool
-brw_compile_gs_prog(struct brw_context *brw,
-                    struct gl_shader_program *prog,
-                    struct brw_geometry_program *gp,
-                    struct brw_gs_prog_key *key,
-                    struct brw_gs_compile_output *output);
-
-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,
+void
+brw_gs_populate_key(struct brw_context *brw,
                     struct brw_gs_prog_key *key);
+void
+brw_gs_populate_default_key(const struct brw_compiler *compiler,
+                            struct brw_gs_prog_key *key,
+                            struct gl_program *prog);
 
 #ifdef __cplusplus
 } /* extern "C" */