yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
44779f50
main
1float4 fun0 () 2{ 3return 1.0f ; 4} 5 6float4 fun2 (float4 const col ) 7{ 8return (1.0f ,2.0f ,3.0f ,4.0f ); 9} 10 11uint fun3 (const float4 col ) 12{ 13return 7 ; 14} 15 16float4 fun4 (uint id1 ,uniform uint id2 ) 17{ 18return id1 * id2 ; 19} 20 21float4 fun1 (int index ) 22{ 23uint entityId = fun3 (fun2 (fun0 ())); 24return fun4 (entityId ,entityId ); 25} 26 27int main () :SV_TARGET 28{ 29return fun1 ; 30}