[Mesa-dev] [PATCH] i965: Fix an inconsistency the VUE map with gl_ClipVertex on gen4/5.

Kenneth Graunke kenneth at whitecape.org
Fri Mar 29 13:40:42 PDT 2013


On 03/29/2013 10:20 AM, Eric Anholt wrote:
> We are intentionally not allocating a slot for gl_ClipVertex.  But by
> leaving the bit set in the slots_valid, the fragment shader's computation
> of where varyings are in urb entry coming out of the SF would be off by
> one.  Fixes rendering in Freespace 2 SCP.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62830
> Tested-by: Joaquín Ignacio Aramendía <samsagax at gmail.com>
> NOTE: This is a candidate for the 9.1 branch.
> ---
>
> NOTE: I haven't run this through piglit yet, since I'm out of town.

I ran this through Piglit on Ironlake.  No regressions.

Reviewed-and-tested-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list