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
324 B12 linesraw
1#version 330 core
2
3layout(location = 0) in vec3 color;
4layout(location = 1) in Block { vec4 a; vec2 b; } blk;
5in Members { layout(location = 3) vec4 c; layout(location = 4) float d; } mem;
6
7layout(location = 0) out vec4 fragColor;
8
9void main()
10{
11    fragColor = vec4(color, 1.0) + blk.a + vec4(blk.b, mem.d, 0.0) + mem.c;
12}