aboutsummaryrefslogtreecommitdiff
path: root/spirv.frag
diff options
context:
space:
mode:
Diffstat (limited to 'spirv.frag')
-rw-r--r--spirv.frag8
1 files changed, 8 insertions, 0 deletions
diff --git a/spirv.frag b/spirv.frag
new file mode 100644
index 0000000..f417dc1
--- /dev/null
+++ b/spirv.frag
@@ -0,0 +1,8 @@
+#version 330 core
+uniform float test;
+
+void main() {
+ vec2 uv = gl_FragCoord.xy / ivec2(800, 600);
+ gl_FragColor = vec4(uv.xy, test, 1.0);
+}
+