summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/indices/u_indices_priv.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-25 15:53:25 -0600
committerBrian Paul <[email protected]>2016-05-26 17:44:17 -0600
commitd6c2c7d7109785935086551ac3d82c4ad819483a (patch)
tree7f81bec33273673beededcb284f58a0b4c985364 /src/gallium/auxiliary/indices/u_indices_priv.h
parent479d364c39e06dfcbe2e1d995bd82f748b1a172d (diff)
util/indices: implement provoking vertex conversion for adjacency primitives
Tested with new piglit gl-3.2-adj-prims test. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/indices/u_indices_priv.h')
-rw-r--r--src/gallium/auxiliary/indices/u_indices_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/indices/u_indices_priv.h b/src/gallium/auxiliary/indices/u_indices_priv.h
index 9acf1ff4814..82374eaa73f 100644
--- a/src/gallium/auxiliary/indices/u_indices_priv.h
+++ b/src/gallium/auxiliary/indices/u_indices_priv.h
@@ -38,6 +38,6 @@
#define OUT_COUNT 2
-#define PRIM_COUNT (PIPE_PRIM_POLYGON + 1)
+#define PRIM_COUNT (PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY + 1)
#endif