freedreno/ir3: Use third register for offset for LDL and LDLV
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 10 Oct 2019 20:44:14 +0000 (13:44 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 17 Oct 2019 20:43:53 +0000 (13:43 -0700)
commit0b6625d825f437a33bc885a9b21e3d5dd0aa65df
treec7980ca6f62a2c9eec8c804c7a647b64c30aeaed
parent3a93e60e7bba1bbb6ecac170c25623c08d6ff55f
freedreno/ir3: Use third register for offset for LDL and LDLV

Before, offset held the offset, which can be either immediate or a
register.  Use a third register to hold the offset so that we can use
a register.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_cp.c