summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_flush.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-05-15 21:22:23 +0200
committerMarek Olšák <[email protected]>2010-05-15 21:22:23 +0200
commit95ba021105a2f1a29c8a4f51641c7a0b527226be (patch)
tree569ec99d0dad5b1f4f4846b3299aeddb00f0035c /src/gallium/drivers/r300/r300_flush.c
parentaf87ef10dc3c3940ddd27ff699406edd7a1dcc38 (diff)
r300g: fix emission of some non-CSO atoms at the beginning of CS
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r--src/gallium/drivers/r300/r300_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c
index ad7cae7bf53..3d22027136b 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -56,7 +56,7 @@ static void r300_flush(struct pipe_context* pipe,
/* New kitchen sink, baby. */
foreach(atom, &r300->atom_list) {
- if (atom->state) {
+ if (atom->state || atom->allow_null_state) {
atom->dirty = TRUE;
}
}