diff --git a/src/gallium/drivers/panfrost/pan_blend_shaders.c b/src/gallium/drivers/panfrost/pan_blend_shaders.c index a639e66c1cb..079080879a9 100644 --- a/src/gallium/drivers/panfrost/pan_blend_shaders.c +++ b/src/gallium/drivers/panfrost/pan_blend_shaders.c @@ -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 = {