summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_split_prim.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_split_prim.h b/src/gallium/auxiliary/util/u_split_prim.h
index e526a73fc3..206e1ec311 100644
--- a/src/gallium/auxiliary/util/u_split_prim.h
+++ b/src/gallium/auxiliary/util/u_split_prim.h
@@ -92,8 +92,11 @@ util_split_prim_next(struct util_split_prim *s, unsigned max_verts)
max_verts &= ~1;
repeat = 2;
break;
- default:
+ case PIPE_PRIM_POINTS:
break;
+ default:
+ /* TODO: implement adjacency primitives */
+ assert(0);
}
s->emit (s->priv, s->p_start, max_verts);