yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Wint3rNightAllow location on inputs and outputs at any version when generating SPIR-V9a1dc751

main
235 B11 linesraw
1#version 330 core
2
3layout(location = 0) in vec3 color;
4layout(location = 1) in Block { vec4 a; vec2 b; } blk;
5
6layout(location = 0) out vec4 fragColor;
7
8void main()
9{
10    fragColor = vec4(color, 1.0) + blk.a + vec4(blk.b, 0.0, 0.0);
11}