1
// This is a test file for the Katepart GLSL Syntax Highlighting.
4
// this is a single-line comment
11
some_symbol.some_member;
12
some_symbol.some_member_function();
18
float f = 1.4e3; // decimal float literal
19
int i1 = 2884; // decimal int literal
20
int i2 = 0x44; // hex int literal
21
int i3 = 0456; // octal int literal
24
// this is a structure
27
vec3 some_member_vector;
34
break continue do for while
46
sampler1D sampler2D sampler3D
47
samplerCube sampler1DShadow sampler1DShadow
49
// all type qualifiers
50
attribute const uniform varying
58
// some of the std functions
59
radians degrees sin cos tan asin acos atan
61
// some of the std variables
62
gl_Position gl_PointSize gl_ClipVertex