freedreno: fix prims-emitted query
authorRob Clark <robclark@freedesktop.org>
Tue, 12 Apr 2016 00:53:13 +0000 (20:53 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 13 Apr 2016 18:15:47 +0000 (14:15 -0400)
commit0a4b0fc3154f4e3f926dcd5f2effe199c9fc6754
tree8fc34f5bec4d74ee854852988bbf52499a1ee958
parenta7eb12d089e1a7f8a311c46aa6aed5dccdeb04ec
freedreno: fix prims-emitted query

This should only count when TF is not paused.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_query_sw.c