aboutsummaryrefslogtreecommitdiff
path: root/Test/iomap.variableOutBlockIn.frag
diff options
context:
space:
mode:
Diffstat (limited to 'Test/iomap.variableOutBlockIn.frag')
-rw-r--r--Test/iomap.variableOutBlockIn.frag13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/iomap.variableOutBlockIn.frag b/Test/iomap.variableOutBlockIn.frag
new file mode 100644
index 00000000..967d7698
--- /dev/null
+++ b/Test/iomap.variableOutBlockIn.frag
@@ -0,0 +1,13 @@
+#version 440
+
+layout(location = 0) in Inputs {
+ vec4 a1;
+ vec2 a2;
+};
+
+layout(location = 0) out vec4 color;
+
+void main()
+{
+ color = vec4(a1.xy, a2);
+}