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