yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e122f053
16.4.0
1struct PSInput 2{ 3float myfloat : SOME_SEMANTIC ; 4int something : ANOTHER_SEMANTIC ; 5} ; 6 7struct nametest { 8int Append ; // these are valid names even though they are also method names. 9int RestartStrip ; // ... 10} ; 11 12[ maxvertexcount ( 4 )] 13void main ( triangle in uint VertexID [ 3 ] : VertexID , 14triangle uint test [ 3 ] : FOO , 15inout LineStream < PSInput > OutputStream ) 16{ 17PSInput Vert ; 18 19Vert . myfloat = test [ 0 ] + test [ 1 ] + test [ 2 ] ; 20Vert . something = VertexID [ 0 ] ; 21 22OutputStream . Append ( Vert ) ; 23OutputStream . Append ( Vert ) ; 24OutputStream . RestartStrip () ; 25}