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 <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25950>
This commit is contained in:
Samuel Pitoiset
2023-09-20 10:42:22 +02:00
committed by Marge Bot
parent 2b93e9a02b
commit 7b13500a99
+1 -1
View File
@@ -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)