From: Eric Anholt Date: Mon, 24 May 2010 04:12:56 +0000 (-0700) Subject: i965: Move Gen6 debugging emit_mi_flush into the Gen6 block. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddb10c3e603ee03e1287a992d23a5507779b7ffd;p=mesa.git i965: Move Gen6 debugging emit_mi_flush into the Gen6 block. --- diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index afe04c548dd..35908ee7b69 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -526,11 +526,11 @@ static void upload_invarient_state( struct brw_context *brw ) BRW_BATCH_STRUCT(brw, &gdo); } - intel_batchbuffer_emit_mi_flush(intel->batch); - if (intel->gen >= 6) { int i; + intel_batchbuffer_emit_mi_flush(intel->batch); + BEGIN_BATCH(3); OUT_BATCH(CMD_3D_MULTISAMPLE << 16 | (3 - 2)); OUT_BATCH(MS_PIXEL_LOCATION_CENTER |