[Mesa-dev] [PATCH 3/3] i965: Remove stale comment about rebuilding tnl_program.
Eric Anholt
eric at anholt.net
Fri Sep 21 00:59:57 PDT 2012
It gets built in Mesa core before we're called these days.
---
src/mesa/drivers/dri/i965/brw_draw.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index a09f555..21abfbe 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;
--
1.7.10.4
More information about the mesa-dev
mailing list