Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-18 Thread Bryan Cain
On Jun 17, 2012 6:55 PM, "Bryan Cain" wrote: > > On 6/16/2012 5:43 PM, Marcin Slusarz wrote: >> >> gl_ClipDistance needs special treatment in form of lowering pass >> which transforms gl_ClipDistance representation from float[] to >> vec4[]. There are 2 implementations - at glsl linker level (enab

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-17 Thread Bryan Cain
On 6/16/2012 5:43 PM, Marcin Slusarz wrote: gl_ClipDistance needs special treatment in form of lowering pass which transforms gl_ClipDistance representation from float[] to vec4[]. There are 2 implementations - at glsl linker level (enabled by LowerClipDistance option) and at glsl_to_tgsi level (

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-17 Thread Marcin Slusarz
On Sun, Jun 17, 2012 at 07:17:35AM +0400, Vadim Girlin wrote: > On Sun, 2012-06-17 at 00:43 +0200, Marcin Slusarz wrote: > > gl_ClipDistance needs special treatment in form of lowering pass > > which transforms gl_ClipDistance representation from float[] to > > vec4[]. There are 2 implementations -

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-16 Thread Vadim Girlin
On Sun, 2012-06-17 at 00:43 +0200, Marcin Slusarz wrote: > gl_ClipDistance needs special treatment in form of lowering pass > which transforms gl_ClipDistance representation from float[] to > vec4[]. There are 2 implementations - at glsl linker level (enabled > by LowerClipDistance option) and at g

[Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-16 Thread Marcin Slusarz
gl_ClipDistance needs special treatment in form of lowering pass which transforms gl_ClipDistance representation from float[] to vec4[]. There are 2 implementations - at glsl linker level (enabled by LowerClipDistance option) and at glsl_to_tgsi level (enabled unconditionally for gallium drivers).