aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_prim_restart.c
Commit message (Collapse)AuthorAgeFilesLines
* util: add a couple primitive restart helper functionsBrian Paul2015-09-011-0/+267
The first function translates prim restart indexes to be 0xffff or 0xffffffff. The second splits indexed primitives with restart indexes into sub- primitives without restart indexes. Reviewed-by: Roland Scheidegger <[email protected]>