From a3c8bc10aa9294bd78c0e2cf5818fb4b8a42cd7a Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Tue, 5 Nov 2019 10:21:21 -0600 Subject: [PATCH] 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 --- src/gallium/auxiliary/draw/draw_pt_decompose.h | 4 +--- 1 file changed, 1 insertion(+), 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" -- 2.30.2