summaryrefslogtreecommitdiff
path: root/tests/examplefiles/glsl/glsl.frag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/glsl/glsl.frag')
-rw-r--r--tests/examplefiles/glsl/glsl.frag8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examplefiles/glsl/glsl.frag b/tests/examplefiles/glsl/glsl.frag
index 132b0353..6033a078 100644
--- a/tests/examplefiles/glsl/glsl.frag
+++ b/tests/examplefiles/glsl/glsl.frag
@@ -1,4 +1,12 @@
/* Fragment shader */
+
+#define SINGLELINE_MACRO 10.0
+
+#define MULTILINE_MACRO(a, b) vec2( \
+ a, \
+ b \
+)
+
void main()
{
gl_FragColor[0] = gl_FragCoord[0] / 400.0;