yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
5159d4f1
main
1struct InParam { 2float2 v ; 3float4 fragCoord :SV_POSITION ; 4int2 i2 ; 5}; 6 7float fun (InParam p ) 8{ 9return p .v .y + p .fragCoord .x ; 10} 11 12float4 PixelShaderFunction (InParam i ) :COLOR0 13{ 14InParam local ; 15local = i ; 16float ret1 = fun (local ); 17float ret2 = fun (i ); 18 19return local .fragCoord * ret1 * ret2 ; 20}