aux/trace: fix query handling with tc
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 17 May 2021 18:01:49 +0000 (14:01 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 22 May 2021 12:37:57 +0000 (12:37 +0000)
commit33e70015721711382086dcc9b751d6d54ffc63ed
treeca3b97f03500e528d39ad571eaafc5ec70c233e6
parentdce827f69c6163c6390f3d561024356d8a50d16e
aux/trace: fix query handling with tc

trace needs to follow the tc rules for queries a little in order to avoid
crashing and provide drivers with the same behavior they expect

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10899>
src/gallium/auxiliary/driver_trace/tr_context.c