<div class="gmail_quote">On Thu, Jul 15, 2010 at 9:57 AM, Chia-I Wu <span dir="ltr">&lt;<a href="mailto:olvaffe@gmail.com">olvaffe@gmail.com</a>&gt;</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 &lt;<a href="mailto:brian.e.paul@gmail.com">brian.e.paul@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;ve pushed a branch which implements the GL_NV_primitive_restart<br>
&gt; extension (part of GL 3.1).<br>
&gt;<br>
&gt; It currently works for Gallium softpipe and llvmpipe but there&#39;s still<br>
&gt; a few loose ends.<br>
&gt;<br>
&gt; The new gallium interface for this isn&#39;t finalized.  It might make<br>
&gt; sense to put the new enable/index state into pipe_rasterizer_state.<br>
&gt; I&#39;m not sure how often apps might change the restart index (i.e. how<br>
&gt; 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">&gt; I also committed a new piglit test for this feature: primitive-restart.c<br>
&gt;<br>
&gt; -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>