Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-10 Thread Erik Faye-Lund
On Thu, Sep 11, 2014 at 12:32 AM, Ian Romanick wrote: > On 09/10/2014 01:53 PM, Erik Faye-Lund wrote: >> On Tue, Sep 9, 2014 at 7:30 PM, Ian Romanick wrote: >>> On 09/08/2014 01:10 AM, Tapani Pälli wrote: From: Kalyan Kondapally According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Positio

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-10 Thread Ian Romanick
On 09/10/2014 01:53 PM, Erik Faye-Lund wrote: > On Tue, Sep 9, 2014 at 7:30 PM, Ian Romanick wrote: >> On 09/08/2014 01:10 AM, Tapani Pälli wrote: >>> From: Kalyan Kondapally >>> >>> According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined >>> after the vertex processing stage if

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-10 Thread Erik Faye-Lund
On Tue, Sep 9, 2014 at 7:30 PM, Ian Romanick wrote: > On 09/08/2014 01:10 AM, Tapani Pälli wrote: >> From: Kalyan Kondapally >> >> According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined >> after the vertex processing stage if we don't write gl_Position. However, >> GLSL 1.10 Spe

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-09 Thread Ian Romanick
On 09/09/2014 11:54 AM, Marek Olšák wrote: > On Tue, Sep 9, 2014 at 8:26 PM, Kenneth Graunke wrote: >> On Tuesday, September 09, 2014 10:30:16 AM Ian Romanick wrote: >>> On 09/08/2014 01:10 AM, Tapani Pälli wrote: From: Kalyan Kondapally According to GLSL-ES Spec(i.e. 1.0, 3.0), gl

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-09 Thread Marek Olšák
On Tue, Sep 9, 2014 at 8:26 PM, Kenneth Graunke wrote: > On Tuesday, September 09, 2014 10:30:16 AM Ian Romanick wrote: >> On 09/08/2014 01:10 AM, Tapani Pälli wrote: >> > From: Kalyan Kondapally >> > >> > According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined >> > after the ver

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-09 Thread Kenneth Graunke
On Tuesday, September 09, 2014 10:30:16 AM Ian Romanick wrote: > On 09/08/2014 01:10 AM, Tapani Pälli wrote: > > From: Kalyan Kondapally > > > > According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined > > after the vertex processing stage if we don't write gl_Position. However, >

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-09 Thread Ian Romanick
On 09/08/2014 01:10 AM, Tapani Pälli wrote: > From: Kalyan Kondapally > > According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined > after the vertex processing stage if we don't write gl_Position. However, > GLSL 1.10 Spec mentions that writing to gl_Position is mandatory. In cas

Re: [Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-08 Thread Kenneth Graunke
On Monday, September 08, 2014 11:10:42 AM Tapani Pälli wrote: > From: Kalyan Kondapally > > According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined > after the vertex processing stage if we don't write gl_Position. However, > GLSL 1.10 Spec mentions that writing to gl_Position is

[Mesa-dev] [PATCH] Linking fails when not writing gl_Position.

2014-09-08 Thread Tapani Pälli
From: Kalyan Kondapally According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined after the vertex processing stage if we don't write gl_Position. However, GLSL 1.10 Spec mentions that writing to gl_Position is mandatory. In case of GLSL-ES, it's not an error and atleast the linkin