st/nine: Fix centroid flag
authorAxel Davy <axel.davy@ens.fr>
Thu, 28 Jan 2016 21:44:42 +0000 (22:44 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commitd5389bb92d5dfa1676cf28a80392f0fcb0eb8dc8
tree35973724367d4688df30d4f57b6d19de52b0233d
parentee31f0fed4bd97e3c9a0c4547ad908d55607f532
st/nine: Fix centroid flag

sem.reg.mod & NINED3DSPDM_CENTROID is worth 4 when
centroid is requested, whereas
TGSI_INTERPOLATE_LOC_CENTROID is worth 1.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_shader.c