i965: Remove stale comment about rebuilding tnl_program.

It gets built in Mesa core before we're called these days.

Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2012-09-21 08:42:42 +02:00
parent 7f9e1a7720
commit e917ed6eee

View file

@ -451,13 +451,6 @@ static bool brw_try_draw_prims( struct gl_context *ctx,
brw->vb.max_index = max_index; brw->vb.max_index = max_index;
brw->state.dirty.brw |= BRW_NEW_VERTICES; 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++) { for (i = 0; i < nr_prims; i++) {
int estimated_max_prim_size; int estimated_max_prim_size;