Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git] / Test / hlsl.structarray.flatten.geom
blob990532d32e02bd18f0b1d197e81d1d4ca9d4cbbe
2 struct VertexData {
3     float4 position : POSITION;
4     float4 color    : COLOR0;
5     float2 uv       : TEXCOORD0;
6 };
8 struct PS_IN {
9     float4 position : SV_POSITION;
10     float4 color    : COLOR0;
11     float2 uv       : TEXCOORD0;
14 [maxvertexcount(4)]
15 void main(line VertexData vin[2], inout TriangleStream<PS_IN> outStream)
17     PS_IN vout;
19     vout.color = vin[1].color;
20     vout.uv = vin[1].uv;
21     vout.position = vin[1].position;
22     outStream.Append(vout);