radv: fix COMPUTE_SHADER_INVOCATIONS query on compute queue
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Sep 2023 16:19:59 +0000 (18:19 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 29 Sep 2023 07:16:44 +0000 (07:16 +0000)
commita9945216ba223d57ade453d5f855edd93dd3b200
tree18c7080d3a5e0f0e98d60ee0490014e09ab8cb8d
parentc1b916ccb9318c0b32822df99fd13a2c7e1c4b6c
radv: fix COMPUTE_SHADER_INVOCATIONS query on compute queue

The VA needs to be adjusted, otherwise the hw always writes at offset 0.

This fixes dEQP-VK.query_pool.statistics_query.*_cq.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25406>
src/amd/vulkan/radv_query.c