radv: fix synchronization with emulated GS primitives/invocations queries
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Oct 2023 06:53:04 +0000 (08:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 5 Oct 2023 14:17:56 +0000 (14:17 +0000)
commitbe325029795afcd8e3fd8e36b53e18580306705e
treec7cea105209b8391bcb209d96d608a4f9a7d50c2
parentf2819c387057e079b399727e4a47e02bb7423507
radv: fix synchronization with emulated GS primitives/invocations queries

Move emitting the EOP even which writes the availability bit after the
GDS copy to ensure it's available.

This should fix all GS primitives/invocations flakes in CI.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25457>
src/amd/ci/radv-navi10-aco-flakes.txt
src/amd/ci/radv-navi21-aco-flakes.txt
src/amd/ci/radv-vangogh-aco-flakes.txt
src/amd/vulkan/radv_query.c