aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZebediah Figura <[email protected]>2019-11-05 10:21:21 -0600
committerRoland Scheidegger <[email protected]>2019-11-22 20:37:42 +0100
commita3c8bc10aa9294bd78c0e2cf5818fb4b8a42cd7a (patch)
treedc961bd61474c5de92527923b7774f23180ff676 /src
parentacd36e488d359f26ebdc678bd16a98682dfd590f (diff)
Revert "draw: revert using correct order for prim decomposition."
This reverts commit f97b731c82afb06cfd6ffebc90a3e098a9a1b308. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/250 Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_decompose.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_decompose.h b/src/gallium/auxiliary/draw/draw_pt_decompose.h
index c4fab6548b9..0b2522c08f0 100644
--- a/src/gallium/auxiliary/draw/draw_pt_decompose.h
+++ b/src/gallium/auxiliary/draw/draw_pt_decompose.h
@@ -3,8 +3,6 @@
const boolean quads_flatshade_last = \
draw->quads_always_flatshade_last; \
const boolean last_vertex_last = \
- !(draw->rasterizer->flatshade && \
- draw->rasterizer->flatshade_first);
-/* FIXME: the draw->rasterizer->flatshade part is really wrong */
+ !draw->rasterizer->flatshade_first;
#include "draw_decompose_tmp.h"