aboutsummaryrefslogtreecommitdiff
path: root/Test/vk.relaxed.errorcheck.vert
diff options
context:
space:
mode:
Diffstat (limited to 'Test/vk.relaxed.errorcheck.vert')
-rw-r--r--Test/vk.relaxed.errorcheck.vert15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/vk.relaxed.errorcheck.vert b/Test/vk.relaxed.errorcheck.vert
new file mode 100644
index 00000000..b1bdbbec
--- /dev/null
+++ b/Test/vk.relaxed.errorcheck.vert
@@ -0,0 +1,15 @@
+#version 460
+
+layout (location = 0) out vec4 io;
+
+// default uniforms will be gathered into a uniform block
+// final global block will merge uniforms from all linked files
+uniform vec2 a; // declared in both stages with different type
+
+vec4 foo() {
+ return a.xyxy;
+}
+
+void main() {
+ io = foo();
+} \ No newline at end of file