- if (brw->urb.gen6_gs_previously_active && !gs_present)
- intel_batchbuffer_emit_mi_flush(brw);
- brw->urb.gen6_gs_previously_active = gs_present;
+ if (brw->urb.gs_present && !gs_present)
+ brw_emit_mi_flush(brw);
+ brw->urb.gs_present = gs_present;