r200: emit cliprect with indexed primitive
authorJerome Glisse <glisse@freedesktop.org>
Mon, 25 May 2009 09:29:32 +0000 (11:29 +0200)
committerJerome Glisse <glisse@freedesktop.org>
Mon, 25 May 2009 09:29:32 +0000 (11:29 +0200)
src/mesa/drivers/dri/r200/r200_cmdbuf.c

index 55ea81a57cf1bb68b11b1a256076ab66a29beaf3..8b2335d149cd5f6f55fafed834ca5e56b91d9262 100644 (file)
@@ -135,7 +135,7 @@ static void r200FireEB(r200ContextPtr rmesa, int vertex_count, int type)
 
        if (vertex_count > 0) {
                BEGIN_BATCH(8+2);
-               OUT_BATCH_PACKET3(R200_CP_CMD_3D_DRAW_INDX_2, 0);
+               OUT_BATCH_PACKET3_CLIP(R200_CP_CMD_3D_DRAW_INDX_2, 0);
                OUT_BATCH(R200_VF_PRIM_WALK_IND |
                          R200_VF_COLOR_ORDER_RGBA | 
                          ((vertex_count + 0) << 16) |