diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:46:45 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:46:45 +0000 |
commit | 0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d (patch) | |
tree | a6394e3e264a0f80b57f4ce0f5d9526aa543d4b0 /lib/mesa/src/gallium/auxiliary/draw/draw_pt_decompose.h | |
parent | d91d0007eecf589ea5699e34aa4d748fce2c57b2 (diff) |
import Mesa 11.0.6
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.h | 10 |
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" |