<div class="gmail_quote">On Thu, Jul 15, 2010 at 9:57 AM, Chia-I Wu <span dir="ltr"><<a href="mailto:olvaffe@gmail.com">olvaffe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Thu, Jul 15, 2010 at 10:26 AM, Brian Paul <<a href="mailto:brian.e.paul@gmail.com">brian.e.paul@gmail.com</a>> wrote:<br>
> I've pushed a branch which implements the GL_NV_primitive_restart<br>
> extension (part of GL 3.1).<br>
><br>
> It currently works for Gallium softpipe and llvmpipe but there's still<br>
> a few loose ends.<br>
><br>
> The new gallium interface for this isn't finalized. It might make<br>
> sense to put the new enable/index state into pipe_rasterizer_state.<br>
> I'm not sure how often apps might change the restart index (i.e. how<br>
> constant is it?). Comments are welcome.<br>
</div>I am wondering if it is a better place to support primitive restart in<br>
draw_pt_vcache_tmp.h instead of in draw_pt_vcache.c. The restart index should<br>
be compared before elt_bias, and the extension should also support other<br>
primitive modes that are less useful (TRIANGLES, LINES, ...).<br></blockquote><div><br>FWIW elt_bias has never worked in Draw (it misrenders and segfaults), with the attached patch. r300g works fine.<br><br>-Marek<br><br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> I also committed a new piglit test for this feature: primitive-restart.c<br>
><br>
> -Brian<br>
<br>
</div><font color="#888888">--<br>
olv@LunarG.com<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br>