diff options
author | Eric Anholt <[email protected]> | 2012-09-21 08:42:42 +0200 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-09-27 13:22:52 -0700 |
commit | e917ed6eee100fbce5e8624cf3d247ede5beee5f (patch) | |
tree | e94f36c9437ec23b3ea7de2f7eaac9fa21175388 /src | |
parent | 7f9e1a7720f5e7b464c39e3640e8ed64687e9645 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index a09f555d1ac..21abfbe71a3 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -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; |