Fix more tests for 32 and 64-wide execution.
This commit is contained in:
@@ -14,7 +14,7 @@ export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
bool ok(float x, float ref) {
|
||||
bool r = (abs(x - ref) < 1e-6) || abs((x-ref)/ref) < 1e-5;
|
||||
bool r = (abs(x - ref) < 1e-4) || abs((x-ref)/ref) < 1e-4;
|
||||
if (any(r == false))
|
||||
print("mismatch got %, expected %\n", x, ref);
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user