swr: Remove stall waiting for core query counters.
authorBruce Cherniak <bruce.cherniak@intel.com>
Thu, 28 Apr 2016 17:13:15 +0000 (12:13 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 5 May 2016 15:50:09 +0000 (10:50 -0500)
commit9d86a5eea79ac30bb90af363c66a5ba8529b37d8
treefaf2f17ad87866bfc565f82ac8d5b69a34e7fb31
parent76a36ac3eaaae8a6aa0d0e17273d09df9f7688bb
swr: Remove stall waiting for core query counters.

When gathering query results, swr_gather_stats was
unnecessarily stalling the entire pipeline.  Results are now
collected asynchronously, with a fence marking completion.

Reviewed-By: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/swr_fence.cpp
src/gallium/drivers/swr/swr_fence.h
src/gallium/drivers/swr/swr_query.cpp
src/gallium/drivers/swr/swr_query.h