}
}
-
/* Emit WAIT */
*dest = cmdwait(R300_WAIT_3D | R300_WAIT_3D_CLEAN);
dest ++;
r300->cmdbuf.count_used ++;
+ *dest = cmdpacket0(R300_TX_CNTL, 1);
+ dest ++;
+ r300->cmdbuf.count_used ++;
+
+ *dest = 0x0;
+ dest ++;
+ r300->cmdbuf.count_used ++;
+
/* Emit END3D */
*dest = cmdpacify();
dest ++;
r300->cmdbuf.count_used ++;
+
/* Emit actual atoms */
{
int size, mtu;
- r300->hw.max_state_size = 2; /* reserve extra space for WAIT_IDLE */
+ r300->hw.max_state_size = 2+2; /* reserve extra space for WAIT_IDLE and tex cache flush */
mtu = r300->radeon.glCtx->Const.MaxTextureUnits;
if (RADEON_DEBUG & DEBUG_TEXTURE) {
static const char *driver_name = "R300";
static const __DRIutilversion2 ddx_expected = { 4, 5, 0, 0 };
static const __DRIversion dri_expected = { 4, 0, 0 };
- static const __DRIversion drm_expected = { 1, 20, 0 };
+ static const __DRIversion drm_expected = { 1, 22, 0 };
#endif
dri_interface = interface;