summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_misc_state.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-05-23 21:12:56 -0700
committerEric Anholt <eric@anholt.net>2010-05-26 12:13:54 -0700
commitddb10c3e603ee03e1287a992d23a5507779b7ffd (patch)
tree568e5e44f3e0bb270f735078664cb28de0486691 /src/mesa/drivers/dri/i965/brw_misc_state.c
parent8f61114907669b2134fbdc1a794926035486e8df (diff)
i965: Move Gen6 debugging emit_mi_flush into the Gen6 block.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_misc_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_misc_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c
index afe04c548d..35908ee7b6 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 |