pan/bi: Force BLEND src0 to r0
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 12 Nov 2020 14:59:22 +0000 (15:59 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Nov 2020 13:35:17 +0000 (14:35 +0100)
commit8379ff292c4544bfce22bb795311bd180a6c999c
treef7e16b22146ecdce16bbbe7390a14429fe4176e2
parent8be54474619ff36230a7ed5f38a6bb3dc7f77a5e
pan/bi: Force BLEND src0 to r0

Blend shaders expect the input color to be passed through r0-r3, let's
enforce that when we allocate registers.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7530>
src/panfrost/bifrost/bi_ra.c