Tie "location = " to the right stages/versions/extensions. Also add "#define extensi...
[platform/upstream/glslang.git] / Test / 430.vert
1 #version 430 core\r
2 \r
3 layout(location = 3) vec4 v4;  // ERROR\r
4 \r
5 layout(location = 3) uniform vec4 uv4;\r
6 \r
7 layout(location = 2) in   inb1 { vec4 v; } b1;  // ERROR\r
8 layout(location = 2) out outb1 { vec4 v; } b2;  // ERROR\r