util/prim: use vertex count info in u_validate_pipe_prim() 16/6416/1
authorChia-I Wu <olvaffe@gmail.com>
Thu, 2 May 2013 05:49:30 +0000 (13:49 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 3 May 2013 03:59:10 +0000 (11:59 +0800)
commit30671cecc0817ffe59b47e8f70b584bb55447f5d
treeb7cadb8aab23348c03e739682922613b4050c80c
parentddf0e3930fc7b52ff6a172a5d23eec7d24ee42fc
util/prim: use vertex count info in u_validate_pipe_prim()

As a side effect, primitives with adjacency are now correctly validated.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Acked-by: Zack Rusin <zackr@vmware.com>
src/gallium/auxiliary/util/u_prim.h