mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 15:48:19 +02:00
gallium queries have to be mapped onto multiple vulkan queries, this can happen for two reasons. 1. primitives generated and overflow any don't map directly, and multiple vulkan queries are needs per iteration. These are stored inside the "starts" as zink_vk_query ptrs. 2. suspending/resuming queries uses multiple queries, these are the "starts". Every suspend/resume cycle adds a new start. Vulkan also requires that multiple queries of the same time don't execute at once, which affects the overflow any vs xfb normal queries, so vk_query structs are refcounted and can be shared between starts. Due to this when the draw state changes, it's simple to just suspend/resume all queries so the shared vulkan queries get handled properly. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15785> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| glx | ||
| gtest | ||
| hgl | ||
| imagination | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| meson.build | ||