i965: drop brw->gt in favor of devinfo->gt
[mesa.git] / src / mesa / drivers / dri / i965 / genX_state_upload.c
index 3c2dc9548231adca90fd6af7dc62bea506e0e10c..39fc893357113711365fba1bd364611a8c4f71d5 100644 (file)
@@ -2551,7 +2551,7 @@ genX(upload_gs_state)(struct brw_context *brw)
     * whole fixed function pipeline" means to emit a PIPE_CONTROL with the "CS
     * Stall" bit set.
     */
-   if (brw->gt == 2 && brw->gs.enabled != active)
+   if (devinfo->gt == 2 && brw->gs.enabled != active)
       gen7_emit_cs_stall_flush(brw);
 #endif