iris: Bail on queries for INTEL_NO_HW=1.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Jun 2019 04:47:12 +0000 (23:47 -0500)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Jun 2019 16:55:43 +0000 (11:55 -0500)
commitbbbf7a538c3d7a6b11569d8ff20c3e51f7c3eff0
tree45e5d822897a1c72bf25c74e4c37bcdfc2e6835b
parent11e74daae5eb51520cc43efa817a4435516bfb8a
iris: Bail on queries for INTEL_NO_HW=1.

We don't execute any of the commands to record snapshots, so we can't
actually produce a real result.  We do however need to avoid waiting
on a syncpt which will never be signalled.  So, just return 0.
src/gallium/drivers/iris/iris_query.c