etnaviv: implement set_active_query_state(..) for hw queries

Graphics / Mesa 3D Graphics Library / Mesa - Christian Gmeiner [gmail.com] - 4 June 2019 12:58 EDT

Clear w/ quad uses a normal draw which adds up to OQ. st/meta uses set_active_query_state(..) to tell the driver to pause queries in such cases.

Fixes spec@arb_occlusion_query@occlusion_query_meta_save piglit.

a6e879984cb etnaviv: implement set_active_query_state(..) for hw queries
src/gallium/drivers/etnaviv/etnaviv_query.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share