draw: fix another decompose bug affecting constant interpolated attributes
authorRoland Scheidegger <sroland@vmware.com>
Wed, 10 Dec 2014 18:39:19 +0000 (19:39 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 10 Dec 2014 21:11:16 +0000 (22:11 +0100)
commitdb3dfcfe90a3d27e6020e0d3642f8ab0330e57be
treebf8f972be888da1b057df97955bc9c508b9f0d36
parent2b23149206c933aed473d289d79dd2f398f88389
draw: fix another decompose bug affecting constant interpolated attributes

Previously the first provoking vertex convention would only be used if
flatshading were enabled. No matter how I look at it that cannot be possibly
correct. Maybe the code getting used was somewhat simpler that way at a time
where there weren't constant interpolated attributes, only flatshading...
(Note that all other places including the decomposition macros already do
the same.)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pt_decompose.h