diff options
author | Marek Olšák <[email protected]> | 2010-12-04 10:06:48 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-12-05 05:52:25 +0100 |
commit | 66d45567b4e2c6f2585789b68667e6c00b7567e1 (patch) | |
tree | e57366150c859c87d3c58483ace7e9d6219c723b /src/gallium/drivers/r300/r300_state_derived.c | |
parent | 6947e5254889b99bfba7104d15e9526a7bc1cdfa (diff) |
r300g: optimize looping over atoms
This also removes DBG_STATS (the stats can be obtained with valgrind instead).
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_derived.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_derived.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c index a6d07760515..d5fc8ece252 100644 --- a/src/gallium/drivers/r300/r300_state_derived.c +++ b/src/gallium/drivers/r300/r300_state_derived.c @@ -193,7 +193,7 @@ static void r300_swtcl_vertex_psc(struct r300_context *r300) (R300_LAST_VEC << (i & 1 ? 16 : 0)); vstream->count = (i >> 1) + 1; - r300->vertex_stream_state.dirty = TRUE; + r300_mark_atom_dirty(r300, &r300->vertex_stream_state); r300->vertex_stream_state.size = (1 + vstream->count) * 2; } |