panfrost: Pack blend equations at CSO create time
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 14 May 2021 19:05:31 +0000 (15:05 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 May 2021 22:51:56 +0000 (22:51 +0000)
commitb82ac27ec3242a2cf609bcec4f69886327b10f74
treecfef2cfe70953857dc3df3d4970751a8d450bff6
parentaa85a64821207781e2b68dd42ce03efce6f32ef3
panfrost: Pack blend equations at CSO create time

These are large. Get them out of the per-draw path.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10869>
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_blend_cso.h
src/gallium/drivers/panfrost/pan_cmdstream.c