summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h b/lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h
new file mode 100644
index 000000000..c4fab6548
--- /dev/null
+++ b/lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h
@@ -0,0 +1,10 @@
+#define LOCAL_VARS \
+ char *verts = (char *) vertices; \
+ 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 */
+
+#include "draw_decompose_tmp.h"