svga: fix vgpu10 query fencing
authorBrian Paul <brianp@vmware.com>
Thu, 18 Aug 2016 16:15:46 +0000 (10:15 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 12:19:52 +0000 (06:19 -0600)
commit99d8fe20abe1fe55ea357bfc6f8d9a7af946cfc5
treec751e99074a2ebd95a236c695bf0121a4b0bea72
parent3f51a3f6ac2aad0400e25ef6f772ff9c4b240d5f
svga: fix vgpu10 query fencing

We don't want to flush the command buffer or sync on the fence when ending
a query (that kind of defeats the whole purpose of async queries).  Do that
instead in get_query_result().

Tested with Piglit, arbocclude, Sauerbraten game, Nobel Clinician Viewer,
ETQW.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_query.c