From: Dave Airlie Date: Sat, 14 Feb 2009 09:10:13 +0000 (+1000) Subject: r200: fix another cmdbuf sizing issue X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd81835dc7ac71eac2a5fcc58080b9b4c6944c83;p=mesa.git r200: fix another cmdbuf sizing issue --- diff --git a/src/mesa/drivers/dri/r200/r200_cmdbuf.c b/src/mesa/drivers/dri/r200/r200_cmdbuf.c index 55507be2515..ae31bcb8311 100644 --- a/src/mesa/drivers/dri/r200/r200_cmdbuf.c +++ b/src/mesa/drivers/dri/r200/r200_cmdbuf.c @@ -135,7 +135,7 @@ static void r200FireEB(r200ContextPtr rmesa, int vertex_count, int type) BATCH_LOCALS(&rmesa->radeon); if (vertex_count > 0) { - BEGIN_BATCH(8); + BEGIN_BATCH(8+2); OUT_BATCH_PACKET3(R200_CP_CMD_3D_DRAW_INDX_2, 0); OUT_BATCH(R200_VF_PRIM_WALK_IND | ((vertex_count + 0) << 16) |