<div class="gmail_quote">On 5 September 2011 14:25, Eric Anholt <span dir="ltr">&lt;<a href="mailto:eric@anholt.net">eric@anholt.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Fri, 2 Sep 2011 21:21:10 -0700, Paul Berry &lt;<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>&gt; wrote:<br>
Non-text part: multipart/alternative<br>
<div class="im">&gt; On 2 September 2011 18:37, Eric Anholt &lt;<a href="mailto:eric@anholt.net">eric@anholt.net</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; This series gets gen4 to be non-regressing for the new vertex shader.<br>
&gt; &gt; I&#39;d be fine with not pushing the last patch and letting Paul&#39;s patches<br>
&gt; &gt; land, then fixing the bug as it remains there.  Once these two land, I<br>
&gt; &gt; think it&#39;s time to turn on the new backend by default.<br>
&gt; &gt;<br>
&gt;<br>
&gt; This plan sounds good to me.  I&#39;d like to land my patches as soon as I can,<br>
&gt; since my clip distance work depends on them.  Based on your review, I think<br>
&gt; only two issues remain with my patch series:<br>
<br>
</div>The main issue I saw was &quot;where do those two result helper functions<br>
live&quot;.  I&#39;d be fine with leaving them in the driver if it means the code<br>
lands sooner.<br></blockquote><div><br></div><div>Do you mean vert_result_to_frag_attrib() and frag_attrib_to_vert_result()?  If so, I&#39;m not sure what you mean by &quot;leaving them in the driver&quot;, because I didn&#39;t put them in the driver--I put them in src/mesa/main/mtypes.h.  Personally, I think that&#39;s the best place for them, because it puts them near the definitions of the enums that they translate, and it makes them available to all code that uses those enums.  And there&#39;s no linker issue because the functions are both static inline.  If you&#39;re ok with leaving those functions in mtypes.h, let me know and I&#39;ll push all this code tomorrow morning.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
4a727e79621b52a6dfcd5c9d5e7a7c6567a422f6 and<br>
29738bda57660b92cc55ae59fdf0259a3b9c7bc4 get my review.<br>
</blockquote></div><br><div>Awesome, thanks.</div>