yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
ddfbbe26
16.4.0
1 2struct VertexData { 3float4 position : POSITION ; 4float4 color : COLOR0 ; 5float2 uv : TEXCOORD0 ; 6} ; 7 8struct PS_IN { 9float4 position : SV_POSITION ; 10float4 color : COLOR0 ; 11float2 uv : TEXCOORD0 ; 12} ; 13 14[ maxvertexcount ( 4 )] 15void main ( line VertexData vin [ 2 ] , inout TriangleStream < PS_IN > outStream ) 16{ 17PS_IN vout ; 18 19vout . color = vin [ 1 ] . color ; 20vout . uv = vin [ 1 ] . uv ; 21vout . position = vin [ 1 ] . position ; 22outStream . Append ( vout ) ; 23}