mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
softpipe: fix multi-drawbuffers regression
This is part of the fix for bug 24401.
This commit is contained in:
parent
a74e53ddba
commit
39daa763b5
1 changed files with 3 additions and 3 deletions
|
|
@ -946,15 +946,15 @@ choose_blend_quad(struct quad_stage *qs,
|
|||
qs->run = blend_noop;
|
||||
}
|
||||
else if (!softpipe->blend->logicop_enable &&
|
||||
softpipe->blend->colormask == 0xf)
|
||||
softpipe->blend->colormask == 0xf &&
|
||||
softpipe->framebuffer.nr_cbufs == 1)
|
||||
{
|
||||
if (!blend->blend_enable) {
|
||||
qs->run = single_output_color;
|
||||
}
|
||||
else if (blend->rgb_src_factor == blend->alpha_src_factor &&
|
||||
blend->rgb_dst_factor == blend->alpha_dst_factor &&
|
||||
blend->rgb_func == blend->alpha_func &&
|
||||
softpipe->framebuffer.nr_cbufs == 1)
|
||||
blend->rgb_func == blend->alpha_func)
|
||||
{
|
||||
if (blend->alpha_func == PIPE_BLEND_ADD) {
|
||||
if (blend->rgb_src_factor == PIPE_BLENDFACTOR_ONE &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue