summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/constructor-08.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/constructor-08.glsl')
-rw-r--r--src/glsl/tests/constructor-08.glsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/glsl/tests/constructor-08.glsl b/src/glsl/tests/constructor-08.glsl
new file mode 100644
index 00000000000..27153f0cda1
--- /dev/null
+++ b/src/glsl/tests/constructor-08.glsl
@@ -0,0 +1,13 @@
+/* PASS */
+
+uniform float a;
+uniform float b;
+
+void main()
+{
+ ivec2 c;
+
+ c = ivec2(a, b);
+
+ gl_Position = gl_Vertex;
+}