summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-14 04:44:13 +0200
committerMarek Olšák <[email protected]>2010-04-14 04:48:19 +0200
commitef745cf95de4f184fc3bb846323c3a508b8d4b52 (patch)
tree65d90fc6bd00305c6daecc1abe82092846f4d570 /src/gallium
parent905fa3a07bdd3615e67b5d19708f96f124600066 (diff)
r300g: remove the CS compenstation for non-atomized states
Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index aa4dd1073dd..d55b803603f 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -1207,9 +1207,6 @@ unsigned r300_get_num_dirty_dwords(struct r300_context *r300)
}
}
- /* XXX This is the compensation for the non-atomized states. */
- dwords += 1024;
-
return dwords;
}