summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_flush.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-14 06:45:55 +0100
committerMarek Olšák <maraeo@gmail.com>2011-02-14 07:45:14 +0100
commit5a6ba08c21f24b14458a2084a170ddfbe8f5d793 (patch)
treefc13659a370e3e5298dcaa6daa97de3571548437 /src/gallium/drivers/r300/r300_flush.c
parent004dd015839dfb77b9d66fb2df6514feefb87d9e (diff)
downloadexternal_mesa3d-5a6ba08c21f24b14458a2084a170ddfbe8f5d793.zip
external_mesa3d-5a6ba08c21f24b14458a2084a170ddfbe8f5d793.tar.gz
external_mesa3d-5a6ba08c21f24b14458a2084a170ddfbe8f5d793.tar.bz2
r300g: emit 3D_LOAD_VBPNTR only when necessary
I thought I couldn't skip emitting this packet in some cases. Well it looks like I can.
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r--src/gallium/drivers/r300/r300_flush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c
index 986ea5f..1e80f80 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -59,6 +59,7 @@ static void r300_flush(struct pipe_context* pipe,
r300_mark_atom_dirty(r300, atom);
}
}
+ r300->vertex_arrays_dirty = TRUE;
/* Unmark HWTCL state for SWTCL. */
if (!r300->screen->caps.has_tcl) {