mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radeon: use PIPE_DRIVER_QUERY_FLAG_DONT_LIST for perfcounters
Since the query names are not very enlightening, and there are thousands of them, GALLIUM_HUD=help should only show the first and last query name for each hardware block. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
f36d9857cd
commit
6b5268d202
1 changed files with 2 additions and 0 deletions
|
|
@ -547,6 +547,8 @@ int r600_get_perfcounter_info(struct r600_common_screen *screen,
|
|||
info->result_type = PIPE_DRIVER_QUERY_RESULT_TYPE_CUMULATIVE;
|
||||
info->group_id = base_gid + sub / block->num_selectors;
|
||||
info->flags = PIPE_DRIVER_QUERY_FLAG_BATCH;
|
||||
if (sub > 0 && sub + 1 < block->num_selectors * block->num_groups)
|
||||
info->flags |= PIPE_DRIVER_QUERY_FLAG_DONT_LIST;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue