• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1struct PSInput
2{
3    float4 Pos      : SV_POSITION;
4    float2 TexCoord : TEXCOORD;
5    float3 TerrainPos : TERRAINPOS;
6    uint VertexID : VertexID;
7};
8
9typedef PSInput foo_t[2][3];
10
11[maxvertexcount(4)]
12void main(point uint v[1] : VertexID, inout TriangleStream<PSInput> OutputStream)
13{
14    foo_t Verts;
15
16    PSInput Out = (PSInput) 0;
17
18    for (int x=0; x<2; ++x)
19        for (int y=0; y<2; ++y)
20            Verts[x][y] = Out;
21}
22