Revert "draw: revert using correct order for prim decomposition."
authorZebediah Figura <z.figura12@gmail.com>
Tue, 5 Nov 2019 16:21:21 +0000 (10:21 -0600)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 22 Nov 2019 19:37:42 +0000 (20:37 +0100)
This reverts commit f97b731c82afb06cfd6ffebc90a3e098a9a1b308.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/250
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_pt_decompose.h

index c4fab6548b96dbf9d4c4a9438d31d71f0efed8e7..0b2522c08f0648665ea4736bfb9eee0ead57d3eb 100644 (file)
@@ -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"