nir: add pack_32_2x16_split/unpack_32_2x16_split lowering
authorJonathan Marek <jonathan@marek.ca>
Fri, 24 Apr 2020 18:27:33 +0000 (14:27 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 18:40:03 +0000 (18:40 +0000)
commit42093bb694bdcb6fb5bb762c118520c107456f4a
tree68170419e5cde64b2c7ac49b10defd5687f970c2
parentcbeda7f78e36caa7e4ca775bd848e1c8d38ee5d7
nir: add pack_32_2x16_split/unpack_32_2x16_split lowering

The new option replaces the two other _split lowering options, since
there's no need for separate options.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4738>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py
src/freedreno/ir3/ir3_nir.c
src/panfrost/bifrost/bifrost_compile.h
src/panfrost/midgard/midgard_compile.h