clover: Call end_query before getting timestamp result v2
authorTom Stellard <thomas.stellard@amd.com>
Wed, 16 Jul 2014 20:14:07 +0000 (16:14 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 17 Jul 2014 13:33:37 +0000 (09:33 -0400)
commit74dfd86ed69c11bd4eddee60ac8a14c39e4d5fc4
tree35f1c8b2d4e3ac8245ec11bb7bf56641ab27b699
parent48deb4dbf278c03ea49aeaa7f9d9eda231def817
clover: Call end_query before getting timestamp result v2

v2:
  - Move the end_query() call into the timestamp constructor.
  - Still pass false as the wait parameter to get_query_result().

Reviewed-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
CC: "10.2" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/clover/core/timestamp.cpp