radv: fix geometry shader primitives query with ACO on GFX10
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 Apr 2020 14:15:45 +0000 (16:15 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 17 Apr 2020 15:39:16 +0000 (17:39 +0200)
commitfd6e44236c07583b3b838b2c7ed01fea27002ef9
tree82925ed1fbcc9c4ba5c50dfe7e7b77cdaf54c754
parentf7d620f47d53d9ad513c41730f3a24b9564e5e74
radv: fix geometry shader primitives query with ACO on GFX10

Fixes
dEQP-VK.query_pool.statistics_query.*.geometry_shader_primitives.*.

Fixes: c24d9522dae ("radv: Enable ACO for NGG VS/TES, but disable NGG for ACO GS.")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4593>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_query.c