yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e4e8f7b7
16.5.0
1// *** 2// invocation ID coming from synthesized variable 3// *** 4 5struct VS_OUT 6{ 7float3 cpoint : CPOINT ; 8} ; 9 10struct HS_CONSTANT_OUT 11{ 12float edges [ 2 ] : SV_TessFactor ; 13} ; 14 15struct HS_OUT 16{ 17float3 cpoint : CPOINT ; 18} ; 19 20[ domain ( "isoline" )] 21[ partitioning ( "integer" )] 22[ outputtopology ( "line" )] 23[ outputcontrolpoints ( 4 )] 24[ patchconstantfunc ( "PCF" )] 25HS_OUT main ( InputPatch < VS_OUT , 4 > ip ) 26{ 27HS_OUT output ; 28output . cpoint = ip [ 0 ] . cpoint ; 29return output ; 30} 31 32HS_CONSTANT_OUT PCF ( uint pid : SV_PrimitiveId , float4 pos : SV_Position ) 33{ 34HS_CONSTANT_OUT output ; 35 36output . edges [ 0 ] = 2.0f ; 37output . edges [ 1 ] = 8.0f ; 38return output ; 39}