summaryrefslogtreecommitdiffstats
path: root/tests/playground/includetest.frag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/playground/includetest.frag')
-rw-r--r--tests/playground/includetest.frag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/playground/includetest.frag b/tests/playground/includetest.frag
new file mode 100644
index 0000000..99dceae
--- /dev/null
+++ b/tests/playground/includetest.frag
@@ -0,0 +1,10 @@
+#version 440
+#extension GL_GOOGLE_include_directive : enable
+
+layout(location = 0) in vec3 v_color;
+layout(location = 0) out vec4 fragColor;
+
+void main()
+{
+#include "fragcolor.inc"
+}