r300: revert back autostate change on cacheflush emit
authorDave Airlie <airlied@redhat.com>
Mon, 23 Feb 2009 03:48:52 +0000 (13:48 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Feb 2009 04:04:22 +0000 (14:04 +1000)
src/mesa/drivers/dri/r300/r300_emit.c

index 20afae6a0971f6b32656b59fc2e5cdf97235f465..1512e906e89c17f4dfe2f7809478591059635e17 100644 (file)
@@ -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);