From: Kenneth Graunke Date: Sat, 2 Oct 2010 02:53:24 +0000 (-0700) Subject: i965: Fix incorrect batchbuffer size in gen6 clip state command. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f31771343259d195ba243ce8d307831e495d5a2c;p=mesa.git i965: Fix incorrect batchbuffer size in gen6 clip state command. FORCE_ZERO_RTAINDEX should be in the fourth (and final) dword. --- diff --git a/src/mesa/drivers/dri/i965/gen6_clip_state.c b/src/mesa/drivers/dri/i965/gen6_clip_state.c index 045d9c6f76e..e8bca83e3a0 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);