r200: fixup some CS emission sizes
[mesa.git] / src / mesa / drivers / dri / r200 / r200_state_init.c
index 3cd2dc77512410fa38412ac8fb820199acdf6234..1a13c9ec13db7b8fc85e3f7c2618e9e67a63b437 100644 (file)
@@ -417,7 +417,7 @@ static void ctx_emit(GLcontext *ctx, struct radeon_state_atom *atom)
    GLframebuffer *fb = r200->radeon.dri.drawable->driverPrivate;
 
    /* output the first 7 bytes of context */
-   BEGIN_BATCH_NO_AUTOSTATE(dwords);
+   BEGIN_BATCH_NO_AUTOSTATE(dwords+2+2);
    OUT_BATCH_TABLE(atom->cmd, 5);
 
    rrb = r200->radeon.state.depth.rrb;