Module: Mesa Branch: main Commit: 7b13500a9968d84291578e03bb3f3d48d24314bf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b13500a9968d84291578e03bb3f3d48d24314bf
Author: Samuel Pitoiset <[email protected]> Date: Wed Sep 20 10:42:22 2023 +0200 radv: define new pipeline statistics indices for mesh/task on GFX11 GFX11 uses pipeline statistics for mesh/task queries but on GFX10.3 they need to be emulated. Though the number of mesh/task shader invocations would be copied to the pipeline statistics range to simplify the implementation. Signed-off-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25950> --- src/amd/vulkan/radv_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c index 0830b1a1b5d..0e6e9d793f4 100644 --- a/src/amd/vulkan/radv_query.c +++ b/src/amd/vulkan/radv_query.c @@ -41,7 +41,7 @@ #define TIMESTAMP_NOT_READY UINT64_MAX /* TODO: Add support for mesh/task queries on GFX11 */ -static const unsigned pipeline_statistics_indices[] = {7, 6, 3, 4, 5, 2, 1, 0, 8, 9, 10}; +static const unsigned pipeline_statistics_indices[] = {7, 6, 3, 4, 5, 2, 1, 0, 8, 9, 10, 13, 11, 12}; static unsigned radv_get_pipelinestat_query_offset(VkQueryPipelineStatisticFlagBits query)
