radeon: reset query buffers for PIPE_QUERY_TIMESTAMP
authorNicolai Hähnle <nhaehnle@gmail.com>
Fri, 20 Nov 2015 10:46:26 +0000 (11:46 +0100)
committerNicolai Hähnle <nhaehnle@gmail.com>
Fri, 20 Nov 2015 21:46:11 +0000 (22:46 +0100)
commit6f4fe8e76ada4cd04f20d37825d7763fcc2b62ae
treea21b9b741d013952a2d5f6a03f3d414e76c7a1e7
parent47fae842d01331af5acc56ff8db37c09ceca791f
radeon: reset query buffers for PIPE_QUERY_TIMESTAMP

Since begin_query is not called for this query type, we need to reset the
query buffer state in end_query instead.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93015
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Andy Furniss <adf.lists@gmail.com>
Tested-by: Mathias Tillman <master.homer@gmail.com>
src/gallium/drivers/radeon/r600_query.c