pan/bi: Fix handling of constants with COMBINE
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 31 Mar 2020 00:54:51 +0000 (20:54 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000 (01:12 +0000)
commit02ad147c5c80a124630992ae6c5ae705c6c68bed
treeaba48f8c925be6ea16aafb533fa07ef228f414b2
parentbd19e7634027036dfc67633579750f1d45a45b74
pan/bi: Fix handling of constants with COMBINE

We should never see COMBINE constants explicitly since they'll become
moves anyway, so we can simplify that. On the other hand, we do need the
type information for the lowering to work properly.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
src/panfrost/bifrost/bifrost_compile.c