yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
97068d8b
main
1static float x = 1.0 ; 2 3float f1 () 4{ 5static float x = 2.0 ; 6x += 10.0 ; 7return x ; 8} 9 10float f2 (float p ) 11{ 12static float x = 7.0 ; 13x += p ; 14return x ; 15} 16 17float4 main () :SV_TARGET 18{ 19return x + f1 ()+ f1 ()+ f2 (5.0 )+ f2 (x ); 20}