And an identical test to make sure it's disallowed at earlier GLSL versions? I see no such test already.
On Thu, Aug 10, 2017 at 12:44 PM, Samuel Pitoiset <[email protected]> wrote: > Cc: Ian Romanick <[email protected]> > Signed-off-by: Samuel Pitoiset <[email protected]> > --- > .../compiler/extra-semilons-at-global-scope.frag | 17 > +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 > tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag > > diff --git > a/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag > b/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag > new file mode 100644 > index 000000000..9da6ade08 > --- /dev/null > +++ b/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag > @@ -0,0 +1,17 @@ > +// [config] > +// expect_result: pass > +// glsl_version: 4.60 > +// [end config] > + > +#version 460 > + > +// From the GLSL 4.60 spec, section 1.2.1 (Summary of Changes from Revision 7 > +// of GLSL Version 4.50): > +// > +// "Private Bug 16070: Allow extra semi-colons at global scope" > + > +uniform int i;; > + > +void main() > +{ > +} > -- > 2.14.0 > > _______________________________________________ > Piglit mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/piglit _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
