radv: fix a synchronization issue with primitives generated query on RDNA1-2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 Oct 2023 15:34:06 +0000 (17:34 +0200)
committerEric Engestrom <eric@engestrom.ch>
Mon, 30 Oct 2023 15:49:44 +0000 (15:49 +0000)
commitc03932b6e68958565d96a6117e2f1fc996fcbbff
treec85d23afbbdab469e71d2bf0cd8cc3409ccd152a
parent8a50c841cf1d05f2d954ae4cbee402ebfd690148
radv: fix a synchronization issue with primitives generated query on RDNA1-2

Only RDNA1-2 are affected because RADV needs to handle the legacy vs
NGG path for this query, and the NGG results are stored with 2 extra
64-bit values.

Fixes flakes with
dEQP-VK.transform_feedback.primitives_generated_query.* since VKCTS
1.3.7.0.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25862>
(cherry picked from commit 7d96fe853e1b007293054645caf54ade77a77c90)
.pick_status.json
src/amd/ci/radv-navi21-aco-flakes.txt
src/amd/vulkan/radv_query.c