OSDN Git Service

st/nine: Fix fixed-function blendweights
authorPatrick Rudolph <siro@das-labor.org>
Tue, 22 Sep 2015 14:10:40 +0000 (16:10 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit9c1d93f8e71506cff14596ab0bfc84ea23411c9e
tree82f5c977a410b802cb8c564eadd1a3693a9a18fe
parentcc830dc214d8508baa4090c1ee4e63941ff28eb7
st/nine: Fix fixed-function blendweights

The last weighted element is one minus the sum of all previous weights.
Fixes WINE test visual.c test_vertex_blending.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_ff.c