diff options
author | Roland Scheidegger <[email protected]> | 2014-12-10 19:39:19 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-12-10 22:11:16 +0100 |
commit | db3dfcfe90a3d27e6020e0d3642f8ab0330e57be (patch) | |
tree | bf8f972be888da1b057df97955bc9c508b9f0d36 /src/gallium/auxiliary/draw | |
parent | 2b23149206c933aed473d289d79dd2f398f88389 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_decompose.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_decompose.h b/src/gallium/auxiliary/draw/draw_pt_decompose.h index 8637085064a..0b2522c08f0 100644 --- a/src/gallium/auxiliary/draw/draw_pt_decompose.h +++ b/src/gallium/auxiliary/draw/draw_pt_decompose.h @@ -3,7 +3,6 @@ const boolean quads_flatshade_last = \ draw->quads_always_flatshade_last; \ const boolean last_vertex_last = \ - !(draw->rasterizer->flatshade && \ - draw->rasterizer->flatshade_first); + !draw->rasterizer->flatshade_first; #include "draw_decompose_tmp.h" |