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