i965: Fix incorrect batchbuffer size in gen6 clip state command.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Oct 2010 02:53:24 +0000 (19:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Oct 2010 04:53:28 +0000 (21:53 -0700)
FORCE_ZERO_RTAINDEX should be in the fourth (and final) dword.

src/mesa/drivers/dri/i965/gen6_clip_state.c

index 045d9c6f76e888d85e3e012dc6e2c35c957d31f9..e8bca83e3a0a8dc46eec2ca901b853fe91d1ad53 100644 (file)
@@ -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);