From 0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 22 Nov 2015 02:46:45 +0000 Subject: import Mesa 11.0.6 --- lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h (limited to 'lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h') 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" -- cgit v1.2.3