radeonsi: allow queries to return more than UINT32_MAX

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37849>
This commit is contained in:
Marek Olšák 2025-10-12 23:24:55 -04:00 committed by Marge Bot
parent 956868b06a
commit 6651781731

View file

@ -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;