diff options
author | Luca Barbieri <[email protected]> | 2010-08-11 10:54:31 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-11 11:08:51 +0200 |
commit | 58b104d7f0890434aadbdebcd6002ba0a0e132ec (patch) | |
tree | 3a0813cf22678f5d8f3d2b1e6862b3b28c0e6de7 /src/gallium/auxiliary/util | |
parent | eee5cea385b6871fa934a7882b2f214e3cbace8b (diff) |
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.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_split_prim.h | 5 |
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 e526a73fc3b..206e1ec3118 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); |