blob: feaddb2ab51f8373c506581ddfdb7b16ae9d10c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//TEST:COMPARE_HLSL: -profile gs_5_0 -target dxbc-assembly -no-checking
struct VS_OUT { float3 p : POSITION; };
[maxvertexcount(3)]
void main(InputPatch<VS_OUT, 3> input, inout TriangleStream<VS_OUT> outStream)
{
VS_OUT output;
for (uint i = 0; i < 3; i += 1)
{
output = input[i];
outStream.Append(output);
}
outStream.RestartStrip();
}
|