1float4 fun0()
2{
3    return 1.0f;
4}
5
6uint fun2(float4 col)
7{
8    return 7;
9}
10
11float4 fun4(uint id1, uniform uint id2)
12{
13    return id1 * id2;
14}
15
16float4 fun1(int index)
17{
18    uint entityId = fun2(fun0());
19    return fun4(entityId, entityId);
20}
21
22int main() : SV_TARGET
23{
24    return fun1;
25}