Re: [Mesa-dev] RFC: Considering changing Mesa's interpretation of when is the flat keyword is required.

2013-02-08 Thread Paul Berry
On 7 February 2013 17:33, Ian Romanick i...@freedesktop.org wrote: On 02/07/2013 08:40 AM, Brian Paul wrote: On 02/06/2013 03:10 PM, Paul Berry wrote: Background: All of the GLSL specs from GLSL 1.30 (and GLSL ES 3.00) onward contain language requiring certain integer variables to be

Re: [Mesa-dev] RFC: Considering changing Mesa's interpretation of when is the flat keyword is required.

2013-02-07 Thread Brian Paul
On 02/06/2013 03:10 PM, Paul Berry wrote: Background: All of the GLSL specs from GLSL 1.30 (and GLSL ES 3.00) onward contain language requiring certain integer variables to be declared with the flat keyword, but they differ in exactly *when* the rule is enforced: (a) GLSL 1.30 and 1.40 say

Re: [Mesa-dev] RFC: Considering changing Mesa's interpretation of when is the flat keyword is required.

2013-02-07 Thread Paul Berry
On 7 February 2013 08:40, Brian Paul bri...@vmware.com wrote: On 02/06/2013 03:10 PM, Paul Berry wrote: Background: All of the GLSL specs from GLSL 1.30 (and GLSL ES 3.00) onward contain language requiring certain integer variables to be declared with the flat keyword, but they differ in

Re: [Mesa-dev] RFC: Considering changing Mesa's interpretation of when is the flat keyword is required.

2013-02-07 Thread Ian Romanick
On 02/07/2013 08:40 AM, Brian Paul wrote: On 02/06/2013 03:10 PM, Paul Berry wrote: Background: All of the GLSL specs from GLSL 1.30 (and GLSL ES 3.00) onward contain language requiring certain integer variables to be declared with the flat keyword, but they differ in exactly *when* the rule

[Mesa-dev] RFC: Considering changing Mesa's interpretation of when is the flat keyword is required.

2013-02-06 Thread Paul Berry
Background: All of the GLSL specs from GLSL 1.30 (and GLSL ES 3.00) onward contain language requiring certain integer variables to be declared with the flat keyword, but they differ in exactly *when* the rule is enforced: (a) GLSL 1.30 and 1.40 say that vertex shader outputs having integral type

Re: [Mesa-dev] RFC: Considering changing Mesa's interpretation of when is the flat keyword is required.

2013-02-06 Thread Kenneth Graunke
On 02/06/2013 02:10 PM, Paul Berry wrote: Background: All of the GLSL specs from GLSL 1.30 (and GLSL ES 3.00) onward contain language requiring certain integer variables to be declared with the flat keyword, but they differ in exactly *when* the rule is enforced: (a) GLSL 1.30 and 1.40 say