panfrost/blend: Inline blend constants
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 22 Apr 2021 19:31:16 +0000 (15:31 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 6 May 2021 16:40:50 +0000 (16:40 +0000)
commit1378c67bcf9e16aea98ddb8cb6bd37b9ed4e3a81
tree541358de605431b70c17007a30386f9c2ff8da50
parentba39367b966c086c70167996c1f0a19dc005def3
panfrost/blend: Inline blend constants

If we're going to key them in NIR, we might as well get the benefit of
constant folding them too.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10652>
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/lib/pan_blend.c
src/panfrost/midgard/midgard_compile.c
src/panfrost/util/pan_ir.h