Re: [Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-06 Thread Alejandro Piñeiro
On 06/06/16 09:44, Alejandro Piñeiro wrote: > On 06/06/16 09:00, Dave Airlie wrote: >> On 6 June 2016 at 16:30, Alejandro Piñeiro wrote: >>> On 03/06/16 23:04, Dave Airlie wrote: On 4 June 2016 at 03:39, Alejandro Piñeiro wrote: > On 03/06/16 02:46, Dave Airlie wrote: >> From: Dave A

Re: [Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-06 Thread Alejandro Piñeiro
On 06/06/16 09:00, Dave Airlie wrote: > On 6 June 2016 at 16:30, Alejandro Piñeiro wrote: >> On 03/06/16 23:04, Dave Airlie wrote: >>> On 4 June 2016 at 03:39, Alejandro Piñeiro wrote: On 03/06/16 02:46, Dave Airlie wrote: > From: Dave Airlie > > "all geometry shader output vert

Re: [Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-06 Thread Dave Airlie
On 6 June 2016 at 16:30, Alejandro Piñeiro wrote: > On 03/06/16 23:04, Dave Airlie wrote: >> On 4 June 2016 at 03:39, Alejandro Piñeiro wrote: >>> On 03/06/16 02:46, Dave Airlie wrote: From: Dave Airlie "all geometry shader output vertex count declarations in a program must d

Re: [Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-05 Thread Alejandro Piñeiro
On 03/06/16 23:04, Dave Airlie wrote: > On 4 June 2016 at 03:39, Alejandro Piñeiro wrote: >> On 03/06/16 02:46, Dave Airlie wrote: >>> From: Dave Airlie >>> >>> "all geometry shader output vertex count declarations in a >>> program must declare the same count." >> This spec quote lacks context. A

Re: [Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-03 Thread Dave Airlie
On 4 June 2016 at 03:39, Alejandro Piñeiro wrote: > On 03/06/16 02:46, Dave Airlie wrote: >> From: Dave Airlie >> >> "all geometry shader output vertex count declarations in a >> program must declare the same count." > > This spec quote lacks context. As far as I see it comes from GLSL 4.5 > spec

Re: [Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-03 Thread Alejandro Piñeiro
On 03/06/16 02:46, Dave Airlie wrote: > From: Dave Airlie > > "all geometry shader output vertex count declarations in a > program must declare the same count." This spec quote lacks context. As far as I see it comes from GLSL 4.5 spec, "4.4.2.3 Geometry Outputs". > > Fixes: > GL45-CTS.geometry_

[Mesa-dev] [PATCH] glsl: geom shader max_vertices layout must match.

2016-06-02 Thread Dave Airlie
From: Dave Airlie "all geometry shader output vertex count declarations in a program must declare the same count." Fixes: GL45-CTS.geometry_shader.output.conflicted_output_vertices_max Cc: "11.2 12.0" Signed-off-by: Dave Airlie --- src/compiler/glsl/ast.h | 3 ++- src/compi