Mesa (radeon-rewrite): r200: fix another cmdbuf sizing issue
Dave Airlie
airlied at kemper.freedesktop.org
Sat Feb 14 02:11:48 UTC 2009
Module: Mesa
Branch: radeon-rewrite
Commit: fd81835dc7ac71eac2a5fcc58080b9b4c6944c83
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd81835dc7ac71eac2a5fcc58080b9b4c6944c83
Author: Dave Airlie <airlied at redhat.com>
Date: Sat Feb 14 19:10:13 2009 +1000
r200: fix another cmdbuf sizing issue
---
src/mesa/drivers/dri/r200/r200_cmdbuf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/r200/r200_cmdbuf.c b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
index 55507be..ae31bcb 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) |
More information about the mesa-commit
mailing list