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

Author: Kenneth Graunke <[email protected]>
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);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to