From 6651781731f61ba3b019df0e2285a239cbebd353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 12 Oct 2025 23:24:55 -0400 Subject: [PATCH] radeonsi: allow queries to return more than UINT32_MAX Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c index 4f70c6e1383..45c0b6a3cf1 100644 --- a/src/gallium/drivers/radeonsi/si_query.c +++ b/src/gallium/drivers/radeonsi/si_query.c @@ -1325,7 +1325,7 @@ static void si_get_hw_query_result_shader_params(struct si_context *sctx, } } -static unsigned si_query_read_result(void *map, unsigned start_index, unsigned end_index, +static uint64_t si_query_read_result(void *map, unsigned start_index, unsigned end_index, bool test_status_bit) { uint32_t *current_result = (uint32_t *)map;