freedreno/ir3: Use imul24 in offset calculations
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 22 Oct 2019 23:37:35 +0000 (16:37 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:36:53 +0000 (16:36 -0800)
commit77b96b843e4d58a1462976dacf6ae314de815881
tree5a881061e644e3bf171030b5f2cffa186fbc2b7d
parent41984c84227a37b6836a57a39348c70b49457212
freedreno/ir3: Use imul24 in offset calculations

With the imul24 opcode in place, we can now use it for computing local
offsets (ie for ldlw/stlw).

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_nir_lower_tess.c