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