panfrost: Add a "Bifrost Internal Blend" descriptor
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 12 Oct 2020 12:16:53 +0000 (14:16 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 15 Oct 2020 06:05:23 +0000 (08:05 +0200)
commit8d707cd91833f50a1111bf4481378ee99069befe
treee64ed5a033c088b74c839af21fe9d348178982bc
parente6186c204266cf4f9b6c94604009cc7bfe3b6193
panfrost: Add a "Bifrost Internal Blend" descriptor

This descriptor can be passed directly as a constant to the bifrost
BLEND instruction and we'll need to pass this information to blend
shaders. Let's extract the "Bifrost Internal Blend" descriptor from the
"Bifrost Blend Overlay" definition.

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/7151>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/panfrost/lib/decode.c
src/panfrost/lib/midgard.xml