turnip: Implement vkGetQueryPoolResults for occlusion queries
authorBrian Ho <brian@brkho.com>
Fri, 3 Jan 2020 00:24:29 +0000 (19:24 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 18:14:01 +0000 (18:14 +0000)
commit97fa4cb3dc8d013e22c46cb244be0908cb8bea3e
tree7dde48be61506d4b732f263a77d3a322359cb399
parent24b95485dc814c84dbf53f4bf299f9b298a566c4
turnip: Implement vkGetQueryPoolResults for occlusion queries

Implements fetching the results of a query pool with the
VK_QUERY_RESULT_WAIT_BIT, VK_QUERY_RESULT_WITH_AVAILABILITY_BIT,
and VK_QUERY_RESULT_PARTIAL_BIT flags.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3279>
src/freedreno/vulkan/tu_query.c