summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-10-01 19:53:24 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-10-01 21:53:28 -0700
commitf31771343259d195ba243ce8d307831e495d5a2c (patch)
tree2263d506a5790742b80cc0774abfb0a77415b446
parent64a9fc3fc15603a8e25d0e1146fe5da5a5bde55b (diff)
i965: Fix incorrect batchbuffer size in gen6 clip state command.
FORCE_ZERO_RTAINDEX should be in the fourth (and final) dword.
-rw-r--r--src/mesa/drivers/dri/i965/gen6_clip_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_clip_state.c b/src/mesa/drivers/dri/i965/gen6_clip_state.c
index 045d9c6f76..e8bca83e3a 100644
--- a/src/mesa/drivers/dri/i965/gen6_clip_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_clip_state.c
@@ -60,7 +60,6 @@ upload_clip_state(struct brw_context *brw)
depth_clamp |
provoking);
OUT_BATCH(GEN6_CLIP_FORCE_ZERO_RTAINDEX);
- OUT_BATCH(0);
ADVANCE_BATCH();
intel_batchbuffer_emit_mi_flush(intel->batch);