mesa/src/amd
Samuel Pitoiset 9ba41ed70a radv: fix a sync issue with primitives generated query and NGG/legacy
On RDNA1&2, the driver needs to support both NGG and legacy for
primitives generated query because we can't know that before starting
queries.

To get the query pool results, we check the availability bit wrote by
the SAMPLE_STREAMOUTSTATS packet but the GDS copy was emitted after,
which means the availability bit might be TRUE before the GDS copy is
actually done.

Fix this by emitting the GDS copy before to ensure the availability is
TRUE for both results.

This fixes recent updates in
dEQP-VK.transform_feedback.primitives_generated_query.* because the
tests no longer wait for the fence.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23080>
2023-05-18 08:56:40 +00:00
..
addrlib amd: update addrlib 2023-03-29 20:36:09 +00:00
ci radv/ci: document more flakes for navi21 2023-05-16 15:29:51 +00:00
common nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
compiler aco: use c++17 2023-05-16 21:41:16 +00:00
drm-shim amd/drm-shim: add navi10 2023-05-15 11:32:07 +00:00
llvm ac/llvm: remove redundant nir_lower_legacy_atomics 2023-05-16 04:10:32 +00:00
registers amd/registers: use gfx9 packet definitions for gfx940 2023-04-06 15:00:54 +00:00
vulkan radv: fix a sync issue with primitives generated query and NGG/legacy 2023-05-18 08:56:40 +00:00
.clang-format amd: Add radv_foreach_stage to ForEachMacros. 2023-03-27 08:29:35 +00:00
meson.build meson: build radeonsi with aco 2023-05-15 02:01:10 +00:00