auxiliary: make primitive splitter assert on unimplemented adjacency prims

They are unimplemented, even though the framework makes it possible to
implement them well, and nv50 needs them.
This commit is contained in:
Luca Barbieri 2010-08-11 10:54:31 +02:00
parent eee5cea385
commit 58b104d7f0

View file

@ -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);