yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John KessenichMerge pull request #893 from KhronosGroup/member-call09a29d9b

main
403 B16 linesraw
1float method3(float a) { return 1.0; }
2
3struct myContext {
4    float method1() { return method2(); }
5    float method2() { return method3(1.0); }
6    float method3(float a) { return method4(a, a); }
7    float method4(float a, float b) { return a + b + f; }
8    float f;
9};
10
11float4 main() : SV_TARGET0
12{
13    myContext context;
14    context.f = 3.0;
15    return (float4)context.method1();
16}