compiler/nir: Add new flags to lower pack/unpack split instructions
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 21 Apr 2020 11:41:41 +0000 (04:41 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 19:46:10 +0000 (19:46 +0000)
commit18e464cfc05cdae59af8d00f214a6477a72b8ac7
tree71a6be01ea15385e1c2830f9ff71de0e09238e9b
parent9e9d28007a44c664c79cd89549988194e156a39f
compiler/nir: Add new flags to lower pack/unpack split instructions

And add new rules to do this lowering in nir_opt_algebraic.py.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6309>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py