[Mesa-dev] [PATCH] Revert "draw: revert using correct order for prim decomposition."
Zebediah Figura
z.figura12 at gmail.com
Tue Nov 5 16:21:21 UTC 2019
This reverts commit f97b731c82afb06cfd6ffebc90a3e098a9a1b308.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/250
---
Corresponding piglit test patch: https://patchwork.freedesktop.org/patch/338747/
This is my first patch to Mesa. I do not have commit access.
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 c4fab6548b..0b2522c08f 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.23.0
More information about the mesa-dev
mailing list