i965/miptree: Replace is_lossless_compressed with mt->aux_usage checks
[mesa.git] / src / mesa / drivers / dri / i965 / brw_ff_gs.h
index a538948e9ac6aebdc4b1515ab61c384142061059..bac2730b7e472250e5065bcf5c616123a7cabba5 100644 (file)
@@ -35,9 +35,9 @@
 
 
 #include "brw_context.h"
-#include "brw_eu.h"
+#include "compiler/brw_eu.h"
 
-#define MAX_GS_VERTS (4)       
+#define MAX_GS_VERTS (4)
 
 struct brw_ff_gs_prog_key {
    GLbitfield64 attrs;
@@ -71,7 +71,7 @@ struct brw_ff_gs_prog_key {
 };
 
 struct brw_ff_gs_compile {
-   struct brw_compile func;
+   struct brw_codegen func;
    struct brw_ff_gs_prog_key key;
    struct brw_ff_gs_prog_data prog_data;
 
@@ -112,4 +112,11 @@ void gen6_sol_program(struct brw_ff_gs_compile *c,
                       unsigned num_verts, bool check_edge_flag);
 void gen6_brw_upload_ff_gs_prog(struct brw_context *brw);
 
+void
+brw_upload_ff_gs_prog(struct brw_context *brw);
+
+void
+brw_codegen_ff_gs_prog(struct brw_context *brw,
+                       struct brw_ff_gs_prog_key *key);
+
 #endif