yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
4fbb8cb4
vulkan-sdk-1.4.350.0
1struct VS_INPUT { 2float4 Position : POSITION ; 3} ; 4 5struct VS_OUTPUT { 6float4 Position : SV_Position ; 7float2 ClipRect [ 2 ] : SV_ClipDistance0 ; // array of float2 in split struct 8} ; 9 10VS_OUTPUT main ( const VS_INPUT v ) 11{ 12VS_OUTPUT Output ; 13Output . Position = 0 ; 14 15Output . ClipRect [ 0 ] . x = 1 ; 16Output . ClipRect [ 0 ] . y = 2 ; 17Output . ClipRect [ 1 ] . x = 3 ; 18Output . ClipRect [ 1 ] . y = 4 ; 19 20return Output ; 21}