tgsi/exec: Simplify indirects now that they always use the ADDR file.
authorEmma Anholt <emma@anholt.net>
Fri, 31 Dec 2021 00:09:50 +0000 (16:09 -0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Jan 2022 23:05:41 +0000 (23:05 +0000)
commit4dc6cd5933c191ce50b9acdffaec202faedf7a4c
treebc7444e89599eeaf2c86f0c8ade6c36a096de9e5
parentc00db99e0e0a3980342081ff2585d6b4fd390b2c
tgsi/exec: Simplify indirects now that they always use the ADDR file.

This was a lot of extra code in the hot path of getting though
fetch_src_file_channel().  No significant perf difference in softpipe,
though.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14360>
src/gallium/auxiliary/tgsi/tgsi_exec.c