pan/mdg: Add pack_unorm_4x8 via 8-bit
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 12 May 2020 23:07:48 +0000 (19:07 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Jun 2020 15:46:23 +0000 (15:46 +0000)
commitc495c6c2957c7c30cedeaa218c2caf443ac04797
treeb03856178ca011c89e3214030edc2892707dc651
parent551d990a7c85d2b3cba567b00e6f2aceef6e2e87
pan/mdg: Add pack_unorm_4x8 via 8-bit

More efficient than the 32-bit version in NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5265>
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_nir.h
src/panfrost/midgard/midgard_nir_algebraic.py