mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 08:10:14 +01:00
Fix MMX Saturate implementation.
The code was expanding the source blend factor from the wrong channel. Fixes
cairo's clip-operator test.
(cherry picked from 63c169e3b1 commit)
This commit is contained in:
parent
5c2560d47f
commit
fa5ea59d2d
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ mmxCombineSaturateU (CARD32 *dest, const CARD32 *src, int width)
|
|||
|
||||
if (sa > da) {
|
||||
__m64 msa = load8888(FbIntDiv(da, sa));
|
||||
msa = expand_alpha(msa);
|
||||
msa = expand_alpha_rev(msa);
|
||||
ms = pix_multiply(ms, msa);
|
||||
}
|
||||
md = pix_add(md, ms);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue