1
/* Legal characters in GLSL are:
3
* Identifier characters:
12
* Period, plus, dash, slash, asterisk, percent, angled brackets,
13
* square brackets, parentheses, braces, caret, vertical bar,
14
* ampersand, tilde, equals, exclamation point, colon, semicolon,
15
* comma, and question mark
19
* Number sign (as used in preprocessor)
21
* Backslash just before newline as line continuation
25
* Space, horizontal tab, vertical tab, form feed, carriage-return,
28
* [GLSL Language Specficiation 4.30.6, section 3.1]
30
* In this file, we test each of these in turn as follows:
32
* Identifier characters: All pass through unchanged
33
* Punctuation: All pass through unchanged
34
* Special: Empty directive replaced with blank line
35
* Line continuation merges two lines, then a blank line
36
* Whitespace: 4 horizontal space characters each replaced with space
37
* 2 newline characters each replaced with a newline
40
abcdefghijklmnopqrstuvwxyz
41
ABCDEFGHIJKMLNOPQRSTUVWXYZ