aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/hsw_queryobj.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-08-30 09:19:47 +0100
committerLionel Landwerlin <[email protected]>2017-08-30 17:59:17 +0100
commit97e90113c662b73b0b2d37385df516dbaa937d19 (patch)
treeaffc6d1d3919237961aa24da0c82af40a78b0bc8 /src/mesa/drivers/dri/i965/hsw_queryobj.c
parentd324197de9e9c4c3c18a2ee8c0508462dc8bcdf5 (diff)
i965: drop brw->is_haswell in favor of devinfo->is_haswell
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/hsw_queryobj.c')
-rw-r--r--src/mesa/drivers/dri/i965/hsw_queryobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/hsw_queryobj.c b/src/mesa/drivers/dri/i965/hsw_queryobj.c
index fde0bce7152..24f52a7d752 100644
--- a/src/mesa/drivers/dri/i965/hsw_queryobj.c
+++ b/src/mesa/drivers/dri/i965/hsw_queryobj.c
@@ -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: