On Thu, Oct 24, 2013 at 3:26 PM, Brian Paul <bri...@vmware.com> wrote: > On 10/24/2013 11:44 AM, Rob Clark wrote: >> >> From: Rob Clark <robcl...@freedesktop.org> >> >> A utility to turn quads into tri's + index buffer, which can be used by >> drivers for hardware which does not natively support quads. >> >> Signed-off-by: Rob Clark <robcl...@freedesktop.org> > > > We already have some code for this. Check out the u_indices.c code. The > svga driver uses this to convert QUADS into indexed triangles, etc. Keith > wrote the original code so I don't know the details but I at least added > some comments a while back.
ahh.. from a quick look, I think this should work.. just need to figure out how to use it ;-) BR, -R > -Brian > > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev