void fragment()
{
float a = mod(1,2); // Works fine
float b = mod(int(1),int(2)); // Works fine
float c = mod(int(1),int(2.0)); // Invalid arguments for built-in function: mod(int,int)
}
I'm having trouble understanding why the first 2 lines of the above fragment compile fine, but the third doesn't. Is this a weird bug, or am I missing something?