Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these
values are really unknown; ideally more reverse engineering should be done to
determine what these values mean and when they should be set.
reg_start(R300_RB3D_ZCACHE_CTLSTAT,0);
- e32(0x00000003);
+ e32(R300_RB3D_ZCACHE_CTLSTAT_03);
cp_wait(rmesa, R300_WAIT_3D | R300_WAIT_3D_CLEAN);
}
/* gap */
#define R300_RB3D_ZCACHE_CTLSTAT 0x4F18 /* GUESS */
+# define R300_RB3D_ZCACHE_CTLSTAT_01 0x1
+# define R300_RB3D_ZCACHE_CTLSTAT_03 0x3
/* gap */
e32(R300_RB3D_DSTCACHE_0A);
reg_start(R300_RB3D_ZCACHE_CTLSTAT,0);
- e32(0x00000003);
+ e32(R300_RB3D_ZCACHE_CTLSTAT_03);
r300EmitState(rmesa);
e32(R300_RB3D_DSTCACHE_0A /*R300_RB3D_DSTCACHE_02*/);
reg_start(R300_RB3D_ZCACHE_CTLSTAT,0);
- e32(0x00000003/*0x1*/);
+ e32(R300_RB3D_ZCACHE_CTLSTAT_03 /*R300_RB3D_ZCACHE_CTLSTAT_01*/);
#ifdef USER_BUFFERS
r300UseArrays(ctx);