xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/vk.relaxed.errorcheck.vert (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1#version 460
2
3layout (location = 0) out vec4 io;
4
5// default uniforms will be gathered into a uniform block
6// final global block will merge uniforms from all linked files
7uniform vec2 a;     // declared in both stages with different type
8
9vec4 foo() {
10    return a.xyxy;
11}
12
13void main() {
14    io = foo();
15}