summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/126-garbage-after-directive.c
Commit message (Collapse)AuthorAgeFilesLines
* glsl/glcpp: Promote "extra token at end of directive" from warning to errorCarl Worth2014-07-091-0/+5
We've always warned about this case, but a recent confromance test expects this to be an error that causes compilation to fail. Make it so. Also add a "make check" test to ensure these errors are generated. This fixes the following Khronos GLES3 conformance tests: invalid_conditionals.tokens_after_ifdef_vertex invalid_conditionals.tokens_after_ifdef_fragment invalid_conditionals.tokens_after_ifndef_vertex invalid_conditionals.tokens_after_ifndef_fragment Reviewed-by: Kenneth Graunke <[email protected]>