freedreno: rework accumulated query result vfunc
authorRob Clark <robdclark@gmail.com>
Thu, 28 Jun 2018 12:14:10 +0000 (08:14 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 18 Jul 2018 14:19:03 +0000 (10:19 -0400)
commit37b724ff723e96ebd3397e9d3bc464428afc5f08
tree80f2b9b4477fe816b96b12486c87d9e090099bf4
parent1f464d53010f61ca2ef10e88e4eeefc067f4c8ce
freedreno: rework accumulated query result vfunc

Take the query object, rather than the ctx.  The ctx ptr isn't hugely
useful but for back queries we will need the query object to properly
get the results.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_query.c
src/gallium/drivers/freedreno/freedreno_query_acc.c
src/gallium/drivers/freedreno/freedreno_query_acc.h