st/vega: Blending should use premultiplied alpha.
authorChia-I Wu <olv@lunarg.com>
Sat, 4 Dec 2010 06:51:27 +0000 (14:51 +0800)
committerChia-I Wu <olv@lunarg.com>
Sat, 4 Dec 2010 07:44:40 +0000 (15:44 +0800)
commite87a0cd260804a2488ef3eb1cf988fef1dd70e06
tree0be006983b8f77721da910fb7eeed2f8727e5b3d
parente8ff3931f801dffdfd54832c298351e933688235
st/vega: Blending should use premultiplied alpha.

Convert color values to and back from premultiplied form for blending.
Finally the rendering result of the blend demo looks much closer to that
of the reference implementation.
src/gallium/state_trackers/vega/asm_fill.h