yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
09a29d9b
main
1float method3 (float a ) {return 1.0 ; } 2 3struct myContext { 4float method1 () {return method2 (); } 5float method2 () {return method3 (1.0 ); } 6float method3 (float a ) {return method4 (a ,a ); } 7float method4 (float a ,float b ) {return a + b + f ; } 8float f ; 9}; 10 11float4 main () :SV_TARGET0 12{ 13myContext context ; 14context .f = 3.0 ; 15return (float4 )context .method1 (); 16}