yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
97068d8b
16.3.0
1struct Test 2{ 3float4 memVar ; 4static float4 staticMemFun ( float4 a ) : SV_Position 5{ 6return 2 * a ; 7} 8static int staticMemFun ( int a ) : SV_Position 9{ 10return 2 + a ; 11} 12int i ; 13} ; 14 15float4 main () : SV_Target0 16{ 17Test test ; 18float4 f4 = float4 ( 1.0 , 1.0 , 1.0 , 1.0 ) ; 19f4 += Test :: staticMemFun ( float4 ( 5.0f , 5.0f , 5.0f , 5.0f )) ; 20f4 += Test :: staticMemFun ( 7 ) ; 21return f4 ; 22}