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

Ian Romanick idr at kemper.freedesktop.org
Tue Oct 5 00:49:46 UTC 2010


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

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.
(cherry picked from commit f31771343259d195ba243ce8d307831e495d5a2c)

---

 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