pan/bi: Lower combines to rewrites for scalars
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 23 Mar 2020 20:48:58 +0000 (16:48 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 24 Mar 2020 15:29:35 +0000 (15:29 +0000)
commit5a3493c536b174030d0c62e0196955d88c74066a
tree087b44430ebe913e024786aae7ef6af0d3231f9a
parente0a51d5308f3a9c6030c4ebc42be6be5c4b9e46a
pan/bi: Lower combines to rewrites for scalars

This avoids unneeded moves for scalars. It still generates suboptimal
code for vectors, however.

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