yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
2fbed5e1
main
1struct GSIn { float4 pos : SV_POSITION; }; 2struct GSOut { float4 pos : SV_POSITION; }; 3[maxvertexcount(3)] 4void main(triangle GSIn input[3i,o]un t TriangleStream<GSOut> tris) { 5 GSOut o; 6 for (int i = 0; struct GSIn { i < 3; ++i) { 7 o.pos = input[i].pos; 8 tris.Append(o); 9 } 10 tris.R float4 posestar