On Thu, Jul 15, 2010 at 10:26 AM, Brian Paul <brian.e.p...@gmail.com> wrote:
> I've pushed a branch which implements the GL_NV_primitive_restart
> extension (part of GL 3.1).
>
> It currently works for Gallium softpipe and llvmpipe but there's still
> a few loose ends.
>
> The new gallium interface for this isn't finalized.  It might make
> sense to put the new enable/index state into pipe_rasterizer_state.
> I'm not sure how often apps might change the restart index (i.e. how
> constant is it?).  Comments are welcome.
I am wondering if it is a better place to support primitive restart in
draw_pt_vcache_tmp.h instead of in draw_pt_vcache.c.  The restart index should
be compared before elt_bias, and the extension should also support other
primitive modes that are less useful (TRIANGLES, LINES, ...).
> I also committed a new piglit test for this feature: primitive-restart.c
>
> -Brian

-- 
o...@lunarg.com
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to