mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 20:10:24 +01:00
On newer devices where ZPASS_DONE events have sample count writing abilities the firmware expects these events to come in begin-end pairs, essentially corresponding to a typical occlusion query usage. Since this event is also used in the autotuner we have to avoid event pairs to be emitted in an interleaved fashion. Additional renderpass state now tracks whether a given renderpass contains an occlusion query. If so, autotuner will emit miscellaneous ZPASS_DONE events in order to form its own begin-end pairs before and after the renderpass commands. Occlusion query behavior inside a renderpass doesn't change. But when used outside of a renderpass, possible autotuner usage requires to again emit ZPASS_DONE events that end up forming begin-end pairs of these events both at the start and the end of the query. Signed-off-by: Zan Dobersek <zdobersek@igalia.com> Fixes: |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| glx | ||
| gtest | ||
| imagination | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||