summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs_tmp.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2012-02-06 16:29:03 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2012-02-09 15:01:34 +0100
commit8b4f7b0672d663273310fffa9490ad996f5b914a (patch)
treef2ba67e7db09659b5a0062644cf46d297578a29a /src/gallium/auxiliary/draw/draw_gs_tmp.h
parent26de5273acf1ebe6730b5e72b55b3bcceba167c6 (diff)
downloadexternal_mesa3d-8b4f7b0672d663273310fffa9490ad996f5b914a.zip
external_mesa3d-8b4f7b0672d663273310fffa9490ad996f5b914a.tar.gz
external_mesa3d-8b4f7b0672d663273310fffa9490ad996f5b914a.tar.bz2
gallium: add PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION
Just let the hardware do it if it can and avoid drivers having to check for the special case on each draw call. v2: update the draw module
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs_tmp.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs_tmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs_tmp.h b/src/gallium/auxiliary/draw/draw_gs_tmp.h
index de7b026..92b6fb7 100644
--- a/src/gallium/auxiliary/draw/draw_gs_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_gs_tmp.h
@@ -9,6 +9,7 @@
const unsigned prim = input_prims->prim; \
const unsigned prim_flags = input_prims->flags; \
const unsigned count = input_prims->count; \
+ const boolean quads_flatshade_last = FALSE; \
const boolean last_vertex_last = TRUE; \
do { \
debug_assert(input_prims->primitive_count == 1); \