freedreno: Set the immediate flag in a4/a5xx resinfos.
authorEric Anholt <eric@anholt.net>
Wed, 20 May 2020 22:29:14 +0000 (15:29 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 18:17:46 +0000 (18:17 +0000)
commit00b9099dd599ecaede1c0ddbb8fa3097e299667e
treea9be0aaac40e75163e45083bbc4f734a29567703
parentae00da5ddb6e787ceb0a05872d271c01d04c9652
freedreno: Set the immediate flag in a4/a5xx resinfos.

Noticed comparing our RESINFO asm to qcom's for the same test, and if I
drop this bit their disasm switches from immediate to reg.  ldgb seems to
have the same behavior.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3501>
src/freedreno/ir3/disasm-a3xx.c
src/freedreno/ir3/instr-a3xx.h
src/freedreno/ir3/ir3.c