yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
25495fdf
vulkan-sdk-1.4.350.0
1 2struct ds_in_t 3{ 4float4 pos : POSITION ; 5float3 norm : TEXCOORD0 ; 6} ; 7 8struct pcf_in_t 9{ 10float flTessFactor [ 3 ] : SV_TessFactor ; 11float flInsideTessFactor : SV_InsideTessFactor ; 12} ; 13 14struct gs_in_t 15{ 16float4 pos : POSITION ; 17float3 norm : TEXCOORD0 ; 18} ; 19 20[ domain ( "tri" )] 21gs_in_t main ( const OutputPatch < ds_in_t , 3 > i , float f : msem , float3 tesscoord : SV_DomainLocation , pcf_in_t pcf_data ) 22{ 23gs_in_t o ; 24 25o . pos = i [ 0 ] . pos + tesscoord . x * f ; 26o . norm = i [ 0 ] . norm + tesscoord . y ; 27 28tesscoord . z ; 29 30return o ; 31} 32