yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
ddfbbe26
16.6.0
1 2struct PS_IN 3{ 4float4 pos : SV_Position ; 5} ; 6 7struct GS_OUT 8{ 9float4 pos : SV_Position ; 10} ; 11 12[ maxvertexcount ( 3 )] 13void main ( triangle PS_IN i [ 3 ] , inout TriangleStream < GS_OUT > ts ) 14{ 15GS_OUT o ; 16 17for ( int x = 0 ; x < 3 ; ++ x ) { 18o . pos = i [ x ] . pos ; 19ts . Append ( o ) ; 20} 21}