freedreno/ir3: add helpers to deal with src/dst types
authorRob Clark <robdclark@chromium.org>
Sat, 16 May 2020 21:24:45 +0000 (14:24 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 16:06:17 +0000 (16:06 +0000)
commitf484d63617afe67f9eb8ba98f96e5c3617aa43c8
tree3cdd9282822e04146b37cdb8e0202d3226bf9b1c
parent3561d34fff44ae82283dc1d4352e87d47793c40e
freedreno/ir3: add helpers to deal with src/dst types

Add some helpers to properly maintain src/dst types, and in the cases
where opcode depends on src or dst type, maintain that as well.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5048>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_cf.c
src/freedreno/ir3/ir3_context.c