Re: [Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-24 Thread Pohjolainen, Topi
On Thu, Oct 24, 2013 at 03:38:49AM -0700, Paul Berry wrote: >On 24 October 2013 00:13, Pohjolainen, Topi >wrote: > > On Wed, Oct 23, 2013 at 01:08:42PM -0700, Paul Berry wrote: > > Since gl_ClipDistance is lowered from an array of floats to an array > > of vec4's during com

Re: [Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-24 Thread Paul Berry
On 24 October 2013 00:13, Pohjolainen, Topi wrote: > On Wed, Oct 23, 2013 at 01:08:42PM -0700, Paul Berry wrote: > > Since gl_ClipDistance is lowered from an array of floats to an array > > of vec4's during compilation, transform feedback has special logic to > > keep track of the pre-lowered arra

Re: [Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-24 Thread Pohjolainen, Topi
On Wed, Oct 23, 2013 at 01:08:42PM -0700, Paul Berry wrote: > Since gl_ClipDistance is lowered from an array of floats to an array > of vec4's during compilation, transform feedback has special logic to > keep track of the pre-lowered array size so that attempting to perform > transform feedback on

[Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-23 Thread Paul Berry
Since gl_ClipDistance is lowered from an array of floats to an array of vec4's during compilation, transform feedback has special logic to keep track of the pre-lowered array size so that attempting to perform transform feedback on gl_ClipDistance produces a result with the correct size. Previousl