etnaviv: replace prims-emitted query
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 5 Jul 2020 11:32:19 +0000 (13:32 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 18:22:19 +0000 (18:22 +0000)
commit01a1926fb9da774e6f3d9c630d3a10cd7fc2942b
treebabb91dfff6a99a91d6eeea0bafa9df3274015d8
parent42c814158b5f66dddb69c35e1b3a8f28db6c8923
etnaviv: replace prims-emitted query

As we do not support stream output buffers we only count the primitives
processed by the pipeline. Use the correct query type.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5754>
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_query_sw.c