i965: Move Gen6 debugging emit_mi_flush into the Gen6 block.

This commit is contained in:
Eric Anholt
2010-05-23 21:12:56 -07:00
parent 8f61114907
commit ddb10c3e60

View File

@@ -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 |