freedreno/ir3: set dst type of alu instructions correctly.
authorHyunjun Ko <zzoon@igalia.com>
Tue, 19 Mar 2019 07:17:40 +0000 (07:17 +0000)
committerRob Clark <robdclark@chromium.org>
Mon, 3 Jun 2019 20:31:26 +0000 (13:31 -0700)
commitdaee6bc1a1af0ac472ca2766b772ae86082d2c98
treef94a222a42d68fe682ad210ffc097356d83418d5
parent43d80a3e20b2ac9b343d1b223eb2816e86248fe7
freedreno/ir3: set dst type of alu instructions correctly.

Though it should be fixed in RA pass, it needs to be set correctly from
the beginning according to the bitsize of NIR dest.

v2: Would be better for mad,fddx,fddy to fixup later in RA pass.

[small cleanup of fallout from imov/fmov removal fallout]
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_compiler_nir.c