yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
7c9129bc
main
1#version 450 2 3layout (location = 1 )in vec4 in1 ; 4in vec4 in2 ;// ERROR 5layout (location = 3 )in vec4 in3 ; 6 7layout (location = 1 )out vec4 out1 ; 8out vec4 out2 ;// ERROR 9layout (location = 3 )out vec4 out3 ; 10 11layout (location = 10 )out inb1 { 12vec4 a ; 13vec4 b ; 14}inbi1 ; 15out inb2 { 16layout (location = 12 )vec4 a ; 17layout (location = 13 )vec4 b ; 18}inbi2 ; 19out inb3 {// ERROR 20vec4 a ; 21vec4 b ; 22}inbi3 ; 23 24layout (location = 14 )out struct S1 {vec4 a ; }s1 ; 25out struct S2 {vec4 a ; }s2 ;// ERROR 26 27struct SS {int a ; }; 28out layout (location = 15 )SS ss1 ; 29out SS ss2 ;// ERROR 30 31out gl_PerVertex { 32vec4 gl_Position ; 33float gl_ClipDistance [2 ]; 34}; 35 36void main () 37{ 38gl_ClipDistance [0 ]= 1.0 ; 39}