projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a1f32
)
r200: fix another cmdbuf sizing issue
author
Dave Airlie
<airlied@redhat.com>
Sat, 14 Feb 2009 09:10:13 +0000
(19:10 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 14 Feb 2009 10:13:55 +0000
(20:13 +1000)
src/mesa/drivers/dri/r200/r200_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_cmdbuf.c
b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
index 55507be2515cdfcf1b71b1fcfde6643f85b09e7b..ae31bcb8311aa5c8acbe72d55d78a3d1b46d922f 100644
(file)
--- 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) |