i965: Remove stale comment about rebuilding tnl_program.
authorEric Anholt <eric@anholt.net>
Fri, 21 Sep 2012 06:42:42 +0000 (08:42 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 27 Sep 2012 20:22:52 +0000 (13:22 -0700)
It gets built in Mesa core before we're called these days.

Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw.c

index a09f555d1ac46a7650cad840160076e664293e6a..21abfbe71a3db6913ff211c1342b37033d2a398f 100644 (file)
@@ -451,13 +451,6 @@ static bool brw_try_draw_prims( struct gl_context *ctx,
    brw->vb.max_index = max_index;
    brw->state.dirty.brw |= BRW_NEW_VERTICES;
 
-   /* Have to validate state quite late.  Will rebuild tnl_program,
-    * which depends on varying information.  
-    * 
-    * Note this is where brw->vs->prog_data.inputs_read is calculated,
-    * so can't access it earlier.
-    */
-
    for (i = 0; i < nr_prims; i++) {
       int estimated_max_prim_size;