yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
d8fe2ca8
main
1struct OutParam { 2float2 v ; 3int2 i ; 4}; 5 6void fun (out OutParam op ) 7{ 8op .v = float2 (0.4 ); 9op .i = int2 (7 ); 10} 11 12float4 PixelShaderFunction (float4 input ,out float4 out1 ,out OutParam out2 ,out OutParam out3 ) :COLOR0 13{ 14out1 = input ; 15out2 .v = 2.0 ; 16out2 .i = 3 ; 17OutParam local ; 18local .v = 12.0 ; 19local .i = 13 ; 20fun (out3 ); 21 22return out1 ; 23}