pan/mdg: fix src_type in instructions that need a implicit zero
authorItalo Nicola <italonicola@collabora.com>
Fri, 10 Jul 2020 14:51:52 +0000 (14:51 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Jul 2020 22:55:36 +0000 (22:55 +0000)
commitb1b0ce04b3edef92f5a69ea9b8e0453348104757
treeb776dcbf33758aa3525bcc45bb2c12aa76318268
parent75b1f3d39df4f098b3674adee52a9db41c1fa96a
pan/mdg: fix src_type in instructions that need a implicit zero

We were incorrectly assuming uint32 for src_type[1] regardless of
src_type[0].

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5933>
src/panfrost/midgard/midgard_compile.c