pan/bi: Lower 8bit fragment outputs to 16bit
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 20 Nov 2020 15:57:46 +0000 (16:57 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 11 Jan 2021 22:28:58 +0000 (22:28 +0000)
commitbef3fedc8145c4030342f7c8f5cfc24c9df82909
tree9380b6cf8c7ed801c87ccd0b8c319667ad90a1d1
parent455cde2562b6480bf31a46feb98e8d95eb81add8
pan/bi: Lower 8bit fragment outputs to 16bit

Bifrost does not support passing fragment colors through 8 bit registers.

(Rewrote to use NIR helpers -Alyssa)

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Maciej Matuszczyk <maccraft123mc@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8427>
src/panfrost/bifrost/bifrost_compile.c