This implementation makes the assumption that the user will being and end the query in the same render pass. It was kinda unclear if that was a requirement of the previous API, but since Vulkan queries are CommandBuffer-local the only way to allow longer-term queries would be to start and end a query every pass, which seems really bad.
This implementation makes the assumption that the user will being and end the query in the same render pass. It was kinda unclear if that was a requirement of the previous API, but since Vulkan queries are CommandBuffer-local the only way to allow longer-term queries would be to start and end a query every pass, which seems really bad.