mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
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:
parent
f9283eff6d
commit
f7cf5a30c7
1 changed files with 3 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue