i965: drop brw->is_haswell in favor of devinfo->is_haswell
[mesa.git] / src / mesa / drivers / dri / i965 / hsw_queryobj.c
index fde0bce715200d6602d254cecfc07c8bbc71015c..24f52a7d752ed37ac48f59c6d650c5b8e8f487c8 100644 (file)
@@ -339,7 +339,7 @@ hsw_result_to_gpr0(struct gl_context *ctx, struct brw_query_object *query,
        * and correctly emitted the number of pixel shader invocations, but,
        * whomever forgot to undo the multiply by 4.
        */
-      if (devinfo->gen == 8 || brw->is_haswell)
+      if (devinfo->gen == 8 || devinfo->is_haswell)
          shr_gpr0_by_2_bits(brw);
       break;
    case GL_TIME_ELAPSED: