glsl: allow standalone semicolons outside main()
authorDave Airlie <airlied@redhat.com>
Wed, 13 Jun 2018 23:52:21 +0000 (09:52 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jun 2018 00:21:51 +0000 (10:21 +1000)
commitbabd1d526be4690204964f5e0a42f5df12f7f83b
tree60f6f29d1094c4f877278f201762662c2d72b79b
parent51e23d34190076159129dd7b449b95a1ac3d4949
glsl: allow standalone semicolons outside main()

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.

Adding stable because it appears apps in the wild do this.

Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: <mesa-stable@lists.freedesktop.org>
src/compiler/glsl/glsl_parser.yy