ir3/freedreno: Find regs for FS inputs when printing info
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Fri, 9 Dec 2022 11:31:56 +0000 (12:31 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 12 Dec 2022 15:25:00 +0000 (15:25 +0000)
commit0d34df0e6cd3e8bbf3896dd21f4a7e43dc73680e
tree2733f1213023bc2e316b614a2085066cc2031921
parentc147a356446aa7e96abc5e45d70820a2f84b4781
ir3/freedreno: Find regs for FS inputs when printing info

FS inputs are not directly loaded into regs, but require additional
instruction to do so. So in order to print in which reg the input
is loaded we have to scan the shader for the instruction
which loads the input.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20247>
src/freedreno/ir3/ir3_shader.c