Mesa (radeon-rewrite): r300: revert back autostate change on cacheflush emit

Dave Airlie airlied at kemper.freedesktop.org
Mon Feb 23 04:08:01 UTC 2009


Module: Mesa
Branch: radeon-rewrite
Commit: 018f5f92cc8f41f6071af4fe16745ccc19231e18
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=018f5f92cc8f41f6071af4fe16745ccc19231e18

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Feb 23 13:48:52 2009 +1000

r300: revert back autostate change on cacheflush emit

---

 src/mesa/drivers/dri/r300/r300_emit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/r300_emit.c b/src/mesa/drivers/dri/r300/r300_emit.c
index 20afae6..1512e90 100644
--- a/src/mesa/drivers/dri/r300/r300_emit.c
+++ b/src/mesa/drivers/dri/r300/r300_emit.c
@@ -360,7 +360,7 @@ void r300EmitCacheFlush(r300ContextPtr rmesa)
 {
 	BATCH_LOCALS(&rmesa->radeon);
 
-	BEGIN_BATCH_NO_AUTOSTATE(4);
+	BEGIN_BATCH(4);
 	OUT_BATCH_REGVAL(R300_RB3D_DSTCACHE_CTLSTAT,
 		R300_RB3D_DSTCACHE_CTLSTAT_DC_FREE_FREE_3D_TAGS |
 		R300_RB3D_DSTCACHE_CTLSTAT_DC_FLUSH_FLUSH_DIRTY_3D);




More information about the mesa-commit mailing list