freedreno: Remove always-true return from per-gen begin_query.
authorEric Anholt <eric@anholt.net>
Fri, 27 Mar 2020 23:46:22 +0000 (16:46 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 21:35:21 +0000 (21:35 +0000)
commitb7fe793869e1f9b0a8013c5c5e161122e326540e
tree49e742bfd779a6cdf3db82faeb8562934e3bfbb9
parent1ef9658906655edb6b2beaf2951a9dc81d93b827
freedreno: Remove always-true return from per-gen begin_query.

You should do failure-prone allocation in create_query, not begin, anyway.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4356>
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/freedreno/freedreno_query.h
src/gallium/drivers/freedreno/freedreno_query_acc.c
src/gallium/drivers/freedreno/freedreno_query_hw.c
src/gallium/drivers/freedreno/freedreno_query_sw.c