freedreno/ir3: Add intrinsics that map to LDLW/STLW
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 10 Oct 2019 22:15:37 +0000 (15:15 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 17 Oct 2019 20:43:53 +0000 (13:43 -0700)
commit0324706764b9d0a1a6a6c1af13fc7cfb01500d80
tree81b4ecc6c121604486e17f4342a37a25d7b26739
parent436d125adfab09d2c31835fc9dca49c308039c06
freedreno/ir3: Add intrinsics that map to LDLW/STLW

These intrinsics will let us do all the offset calculations in nir,
which is nicer to work with and lets nir_opt_algebraic eat it all up.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
src/compiler/nir/nir_intrinsics.py
src/freedreno/ir3/ir3_compiler_nir.c