Mesa (master): i965: Fix incorrect batchbuffer size in gen6 clip state command.

Kenneth Graunke kwg at kemper.freedesktop.org
Sat Oct 2 04:52:04 UTC 2010


Module: Mesa
Branch: master
Commit: f31771343259d195ba243ce8d307831e495d5a2c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f31771343259d195ba243ce8d307831e495d5a2c

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Oct  1 19:53:24 2010 -0700

i965: Fix incorrect batchbuffer size in gen6 clip state command.

FORCE_ZERO_RTAINDEX should be in the fourth (and final) dword.

---

 src/mesa/drivers/dri/i965/gen6_clip_state.c |    1 -
 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 045d9c6..e8bca83 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);




More information about the mesa-commit mailing list