blob: 32b7fe09f3cab375cb02328b1f8c450c54899522 [file] [log] [blame]
uniform half f;
uniform int i;
uniform bool b;
half4 main(float2 xy)
{
half x = bool(f) ? half(b) : half(i);
int y = bool(i) ? int(b) : int(f);
return half4(half4(x) * half(y));
}