2 // per-control-point invocation of PCF from entry point return value
7 float3 val : TEXCOORD0;
12 float tfactor[3] : SV_TessFactor; // must turn into a size 4 array in SPIR-V
13 float flInFactor : SV_InsideTessFactor; // must turn into a size 2 array in SPIR-V
18 float3 val : TEXCOORD0;
22 [ partitioning ("fractional_odd") ]
23 [ outputtopology ("triangle_cw") ]
24 [ outputcontrolpoints (3) ]
25 [ patchconstantfunc ( "PCF" ) ]
26 hs_out_t main (InputPatch <hs_in_t, 3> i , uint cpid : SV_OutputControlPointID)
33 hs_pcf_t PCF( const OutputPatch <hs_out_t, 3> pcf_out)
37 o.tfactor[0] = pcf_out[0].val.x;
38 o.tfactor[1] = pcf_out[1].val.x;
39 o.tfactor[2] = pcf_out[2].val.x;