freedreno/ir3: remove unused tex arg harder
authorRob Clark <robdclark@chromium.org>
Fri, 24 Jan 2020 00:45:29 +0000 (16:45 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 Feb 2020 02:40:22 +0000 (02:40 +0000)
commitfb09020ef23cc87c1c3024add572cf0a571e8ddc
tree0d988f7b73dfafdb167c726f5602cfd746b5de8f
parent2ffe44ec0a5dba18e4a88ca7dd1042e823f9685e
freedreno/ir3: remove unused tex arg harder

Just killing the SSA link isn't enough.  It confuses RA, legalize,
and postsched to see a bogus unused reg.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3569>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3_cp.c
src/freedreno/ir3/ir3_print.c