e6cffa1f0e
Create a feedback buffer for each query pool and retrieve the query results from the buffer instead of a roundtrip call in vkGetQueryPoolResults. VK_QUERY_RESULT_WAIT_BIT queries will poll until the queries are available in the feedback buffer. Query results in the feedback buffer are always VK_QUERY_RESULT_64_BIT and if needed converted to what the app requests at vkGetQueryPoolResults time. Signed-off-by: Juston Li <justonli@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23348>