gallium/auxiliary/indices: add u_primconvert
authorRob Clark <robclark@freedesktop.org>
Fri, 25 Oct 2013 19:26:12 +0000 (15:26 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 29 Oct 2013 20:49:43 +0000 (16:49 -0400)
commitb88191708816872a0bc93decec0507d797cd4018
tree8d8eb998de6764d0d3ee785b8bc3da7aac331081
parent28f3f8d413f6bf29f051d54479d9ae90bb16a55e
gallium/auxiliary/indices: add u_primconvert

A convenient front end to indices generate/translate code, for emulating
primitives which are not supported natively by the driver.

This handles saving/restoring index buffer state, etc.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/indices/u_primconvert.c [new file with mode: 0644]
src/gallium/auxiliary/indices/u_primconvert.h [new file with mode: 0644]