2 // invocation ID coming from synthesized variable
7 float3 cpoint : CPOINT;
10 struct HS_CONSTANT_OUT
12 float edges[2] : SV_TessFactor;
17 float3 cpoint : CPOINT;
21 [partitioning("integer")]
22 [outputtopology("line")]
23 [outputcontrolpoints(4)]
24 [patchconstantfunc("PCF")]
25 HS_OUT main(InputPatch<VS_OUT, 4> ip)
28 output.cpoint = ip[0].cpoint;
32 HS_CONSTANT_OUT PCF(uint pid : SV_PrimitiveId, float4 pos : SV_Position)
34 HS_CONSTANT_OUT output;
36 output.edges[0] = 2.0f;
37 output.edges[1] = 8.0f;