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:
@@ -6,14 +6,15 @@ export uniform int width() { return programCount; }
|
||||
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
|
||||
float a = aFOO[programIndex];
|
||||
|
||||
soa<8> Point pts[8];
|
||||
foreach (i = 0 ... 64) {
|
||||
soa<8> Point pts[10];
|
||||
foreach (i = 0 ... 80) {
|
||||
pts[i].x = 0;
|
||||
pts[i].y = 0;
|
||||
pts[i].z = 0;
|
||||
}
|
||||
|
||||
Point pv = { a, b, -a };
|
||||
assert(8+programCount < 80);
|
||||
pts[8+programIndex] = pv;
|
||||
|
||||
RET[programIndex] = pts[8+programIndex].z;
|
||||
|
||||
Reference in New Issue
Block a user