blob: 6af8624597015dee042f314279e639ed89be5453 [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 + b));
return;
}