mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 13:28:08 +02:00
Fix MMX Saturate implementation.
The code was expanding the source blend factor from the wrong channel. Fixes cairo's clip-operator test.
This commit is contained in:
parent
ff6b59a0db
commit
63c169e3b1
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