i965: Drop useless gen6_brw_upload_ff_gs_prog() wrapper.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Aug 2017 22:18:32 +0000 (15:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Sep 2017 19:56:18 +0000 (12:56 -0700)
gen6...brw?  Drop some baklava layers.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_ff_gs.c
src/mesa/drivers/dri/i965/brw_ff_gs.h
src/mesa/drivers/dri/i965/brw_gs.c

index f7f86d33874b09d01dde36f0cf602aa510fcf825..f535537d75aff27405acf22ee2e4a788388c2953 100644 (file)
@@ -258,8 +258,3 @@ brw_upload_ff_gs_prog(struct brw_context *brw)
       }
    }
 }
-
-void gen6_brw_upload_ff_gs_prog(struct brw_context *brw)
-{
-   brw_upload_ff_gs_prog(brw);
-}
index bac2730b7e472250e5065bcf5c616123a7cabba5..b32b20d89bdd3c941bfe687dd8ba60bf58e32833 100644 (file)
@@ -110,7 +110,6 @@ void brw_ff_gs_lines(struct brw_ff_gs_compile *c);
 void gen6_sol_program(struct brw_ff_gs_compile *c,
                       struct brw_ff_gs_prog_key *key,
                       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);
index 9242504bb30e94900a2e96548bac483ac8940f98..a0afe67a9aa1988c3b0d16b6e1f01cf045e6f14b 100644 (file)
@@ -211,7 +211,7 @@ brw_upload_gs_prog(struct brw_context *brw)
       /* No geometry shader.  Vertex data just passes straight through. */
       if (devinfo->gen == 6 &&
           (brw->ctx.NewDriverState & BRW_NEW_TRANSFORM_FEEDBACK)) {
-         gen6_brw_upload_ff_gs_prog(brw);
+         brw_upload_ff_gs_prog(brw);
          return;
       }