On 20 September 2011 17:09, Eric Anholt <span dir="ltr">&lt;<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Tue, 20 Sep 2011 15:42:30 -0700, Paul Berry &lt;<a href="mailto:stereotype441@gmail.com" target="_blank">stereotype441@gmail.com</a>&gt; wrote:<br>
&gt; This patch series enables support for gl_ClipDistance in the Intel<br>
&gt; i965 driver.  The first three patches are in mesa core (and hence<br>
&gt; potentially affect all drivers); the rest are i965-specific.<br>
&gt;<br>
&gt; For those of you who aren&#39;t concerned with the i965 driver, you will<br>
&gt; probably be most interested in looking at patch 2 in the series, which<br>
&gt; modifies the all-important gl_vert_result and gl_frag_attrib enums.  I<br>
&gt; believe that the changes I&#39;ve made don&#39;t violate any drivers&#39;<br>
&gt; assumptions about the layout of these enums, but it would be good to<br>
&gt; get some confirmation about this from people more familiar with<br>
&gt; non-i965 code.<br>
&gt;<br>
&gt; This patch series depends on the patches &quot;glsl hierarchical visitor:<br>
&gt; Do not overwrite base_ir for parameter lists.&quot; and &quot;glsl: Implement a<br>
&gt; lowering pass for gl_ClipDistance.&quot;, which haven&#39;t landed yet since<br>
&gt; the latter is still under discussion.  If you want to see the patches<br>
&gt; in their proper context, you can fetch branch clip-distance from<br>
&gt; git://<a href="http://github.com/stereotype441/mesa.git" target="_blank">github.com/stereotype441/mesa.git</a>.<br>
&gt;<br>
&gt; Note that to try out the new functionality you&#39;ll need to have i965<br>
&gt; GEN6 hardware (&quot;Sandy Bridge&quot;), and you&#39;ll need to set the environment<br>
&gt; variable INTEL_GLSL_VERSION=130 to enable the (still experimental)<br>
&gt; GLSL-1.30 functionality.<br>
<br>
</div>The series is:<br>
<br>
Reviewed-by: Eric Anholt &lt;<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>&gt;<br>
</blockquote></div><br>Thanks for the review, Eric.  Do you have any opinion on the discussion on &quot;glsl: Implement a lowering pass for gl_ClipDistance.&quot;?  That discussion needs to be resolved before I can push this patch series, and the discussion has some questions directed towards you.<br>
<br>Thanks--<br><br>Paul<br>