Fix more tests for 32 and 64-wide execution.

This commit is contained in:
Matt Pharr
2012-05-30 13:06:07 -07:00
parent 8fd9b84a80
commit fe8b109ca5
6 changed files with 11 additions and 9 deletions

View File

@@ -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;