Mesa (master): r300g: remove the CS compenstation for non-atomized states

Marek Olšák mareko at kemper.freedesktop.org
Wed Apr 14 02:48:35 UTC 2010


Module: Mesa
Branch: master
Commit: ef745cf95de4f184fc3bb846323c3a508b8d4b52
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef745cf95de4f184fc3bb846323c3a508b8d4b52

Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Apr 14 04:44:13 2010 +0200

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.

---

 src/gallium/drivers/r300/r300_emit.c |    3 ---
 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 aa4dd10..d55b803 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;
 }
 




More information about the mesa-commit mailing list