summaryrefslogtreecommitdiff
path: root/tests/swiz-01.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/swiz-01.glsl')
-rw-r--r--tests/swiz-01.glsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/swiz-01.glsl b/tests/swiz-01.glsl
new file mode 100644
index 0000000..a72af37
--- /dev/null
+++ b/tests/swiz-01.glsl
@@ -0,0 +1,10 @@
+#version 120
+
+void main()
+{
+ float a;
+ vec4 b;
+
+ b.x = 6.0;
+ a = b.x;
+}