util/prim: add u_reduced_prims_for_vertices()
authorChia-I Wu <olvaffe@gmail.com>
Thu, 2 May 2013 06:28:12 +0000 (14:28 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 3 May 2013 03:59:10 +0000 (11:59 +0800)
commitf87dccdc19416fd8d47b995f9b0f0c54534bfd16
tree0a52b345f3235cb222d298e5099e5c32573a4e1f
parent90d5190594c57c5f5ac63442ff526b312ea79744
util/prim: add u_reduced_prims_for_vertices()

The function returns the number of reduced/tessellated primitives for the
given vertex count.

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