Mesa (radeon-rewrite): r200: emit cliprect with indexed primitive
Jerome Glisse
glisse at kemper.freedesktop.org
Mon May 25 09:30:08 UTC 2009
Module: Mesa
Branch: radeon-rewrite
Commit: 80f1ac87f2cb42ae8370174a75d1271950e59657
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80f1ac87f2cb42ae8370174a75d1271950e59657
Author: Jerome Glisse <glisse at freedesktop.org>
Date: Mon May 25 11:29:32 2009 +0200
r200: emit cliprect with indexed primitive
---
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 55ea81a..8b2335d 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)
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) |
More information about the mesa-commit
mailing list