commit | 1a3e2a7fa8bf184b5f9214d4c404e4c2c754aa58 | [log] [tgz] |
---|---|---|
author | Brian Ho <brian@brkho.com> | Fri Jan 24 16:39:47 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Jan 30 20:30:46 2020 +0000 |
tree | 54990863aaba23ce5db5cdda5dfe8efceac85f83 | |
parent | 1c3319cf81779ba6a17223d22ddd3afc68acab1e [diff] |
turnip: Fix vkGetQueryPoolResults with available flag Previously, calling vkGetQueryPoolResults with the VK_QUERY_RESULT_WITH_AVAILABILITY_BIT flag set the query result field in *pData to 0 if unavailable and the query result if available. This was a misunderstanding of the Vulkan spec, and this commit corrects the behavior to eriting a separate available result in addition to the query result. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3560>