You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
310 B

float4 fun0()
{
return 1.0f;
}
uint fun2(float4 col)
{
return 7;
}
float4 fun4(uint id1, uniform uint id2)
{
return id1 * id2;
}
float4 fun1(int index)
{
uint entityId = fun2(fun0());
return fun4(entityId, entityId);
}
int main() : SV_TARGET
{
return fun1;
}