blob: 0fc0aef110bfd49831d004e01d24c43e84d415c7 [file] [log] [blame]
float tint_float_mod(float lhs, float rhs) {
return (lhs - (trunc((lhs / rhs)) * rhs));
}
[numthreads(1, 1, 1)]
void f() {
float a = 1.0f;
float b = 0.0f;
const float r = tint_float_mod(a, b);
return;
}