mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
gallium: fix bug in PIPE_BLENDFACTOR_INV_DST_ALPHA case
This commit is contained in:
parent
da8934034b
commit
f7e475280a
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ blend_quad(struct quad_stage *qs, struct quad_header *quad)
|
|||
case PIPE_BLENDFACTOR_INV_DST_ALPHA:
|
||||
{
|
||||
float inv_comp[4];
|
||||
VEC4_SUB(inv_comp, one, quadColor[3]); /* A */
|
||||
VEC4_SUB(inv_comp, one, dest[3]); /* A */
|
||||
VEC4_MUL(dest[0], inv_comp, dest[0]); /* R */
|
||||
VEC4_MUL(dest[1], inv_comp, dest[1]); /* G */
|
||||
VEC4_MUL(dest[2], inv_comp, dest[2]); /* B */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue