panfrost: Handle !independent_blend for blend shaders

Fixes MRT blending.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5153>
This commit is contained in:
Alyssa Rosenzweig 2020-05-15 12:19:22 -04:00 committed by Marge Bot
parent f9283eff6d
commit f7cf5a30c7

View file

@ -85,6 +85,9 @@ nir_make_options(const struct pipe_blend_state *blend, unsigned i)
options.logicop_enable = false;
if (!blend->independent_blend_enable)
i = 0;
/* If blend is disabled, we just use replace mode */
nir_lower_blend_channel rgb = {