diff options
author | Christian Gmeiner <[email protected]> | 2018-04-06 08:41:32 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2018-04-08 22:13:04 +0200 |
commit | 7e3dba301ebbd5d0d9eab7fdac5827559e482c1c (patch) | |
tree | fc2123f8367cffd51911e905eae062ea22cd6d43 /src/gallium/drivers/etnaviv | |
parent | 208891650bd3933b238038eb042ad7dbc666c3db (diff) |
etnaviv: sw queries: return correct number of groups
Fixes: 3d912bd742ed ("etnaviv: add query_group_info for sw counters")
Signed-off-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_query_sw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_query_sw.c b/src/gallium/drivers/etnaviv/etnaviv_query_sw.c index f955d8e2106..bec8d0d588a 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_query_sw.c +++ b/src/gallium/drivers/etnaviv/etnaviv_query_sw.c @@ -145,7 +145,7 @@ etna_sw_get_driver_query_group_info(struct pipe_screen *pscreen, struct pipe_driver_query_group_info *info) { if (!info) - return ARRAY_SIZE(list); + return 1; if (index != 0) return 0; |