yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
d15deba1
main
1static float4 v1 ; 2static float4 v2 ; 3 4namespace N1 { 5float4 getVec () {return v1 ; } 6} 7 8namespace N2 { 9static float gf ; 10float4 getVec () {return v2 ; } 11namespace N3 { 12float4 getVec () {return v2 ; } 13 14class C1 { 15static float4 getVec () {return v2 ; } 16 }; 17 } 18} 19 20float4 main () :SV_Target0 21{ 22return N1 ::getVec ()+ N2 ::getVec ()+ N2 ::N3 ::getVec ()+ N2 ::N3 ::C1 ::getVec ()* N2 ::gf ; 23}