gallium/tools: improve handling of pointer arrays
authorMatti Hamalainen <ccr@tnsp.org>
Mon, 31 May 2021 12:32:01 +0000 (15:32 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Jun 2021 18:33:41 +0000 (18:33 +0000)
commitaeaeef661a8f2ba5a4f1a4ef271cd8415c81d98d
treef6a463e1bd0c4bc2cbd9a7ab36138b9b1eca6664
parent1e508777b453704fd6bc940345eba1ab0918a3d5
gallium/tools: improve handling of pointer arrays

Extend the special handling of return types to also include pointer
type array list elements, so we ignore the initial "name" of the
element until we know a better type for them. This improves the type
"detection" of such pointer array elements when parsing the logs
with dump.py / tracediff.sh

Related to Mesa issue #4609

Signed-off-by: Matti Hamalainen <ccr@tnsp.org>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11492>
src/gallium/tools/trace/model.py