Fix various tests/[frs]* files to be correct with 32 and 64-wide targets.

Still todo: tests/c*, tests/test-*
This commit is contained in:
Matt Pharr
2012-05-30 10:31:12 -07:00
parent d86653668e
commit 5cb53f52c3
45 changed files with 97 additions and 101 deletions

View File

@@ -12,7 +12,8 @@ export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
pts[i].y = 2*b*i;
pts[i].z = 3*b*i;
}
assert(6+programIndex < 80);
soa<8> Point * ptr = &pts[6+programIndex];
RET[programIndex] = ptr - pts;
}