Re: [Mesa-dev] [PATCH] glsl: allow standalone semicolons outside main()

2018-06-13 Thread Dave Airlie
On 14 June 2018 at 10:12, Matt Turner wrote: > On Wed, Jun 13, 2018 at 4:53 PM, Dave Airlie wrote: >> From: Dave Airlie >> >> GLSL 4.60 offically added this but games and older CTS suites actually >> had shaders that did this, we may as well enable it everywhere. >> --- >> src/compiler/glsl/gls

Re: [Mesa-dev] [PATCH] glsl: allow standalone semicolons outside main()

2018-06-13 Thread Matt Turner
On Wed, Jun 13, 2018 at 4:53 PM, Dave Airlie wrote: > From: Dave Airlie > > GLSL 4.60 offically added this but games and older CTS suites actually > had shaders that did this, we may as well enable it everywhere. > --- > src/compiler/glsl/glsl_parser.yy | 1 + > 1 file changed, 1 insertion(+) >

Re: [Mesa-dev] [PATCH] glsl: allow standalone semicolons outside main()

2018-06-13 Thread Timothy Arceri
On 14/06/18 09:53, Dave Airlie wrote: From: Dave Airlie GLSL 4.60 offically added this but games and older CTS suites actually had shaders that did this, we may as well enable it everywhere. --- src/compiler/glsl/glsl_parser.yy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compil

[Mesa-dev] [PATCH] glsl: allow standalone semicolons outside main()

2018-06-13 Thread Dave Airlie
From: Dave Airlie GLSL 4.60 offically added this but games and older CTS suites actually had shaders that did this, we may as well enable it everywhere. --- src/compiler/glsl/glsl_parser.yy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/g