Fix AoS/SoA stdlib functions to match documentation

(i.e. actually remove the old offset parameter stuff now that
we can actually pass pointers.)
This commit is contained in:
Matt Pharr
2011-12-03 22:37:53 -08:00
parent 3efbfc30b7
commit 186d0223d2
12 changed files with 55 additions and 52 deletions

View File

@@ -11,7 +11,7 @@ export void f_v(uniform float RET[]) {
a[i] = i;
int x=-1, y=-1, z=-1, w=-1;
aos_to_soa4(a, 0, &x, &y, &z, &w);
aos_to_soa4(a, &x, &y, &z, &w);
int errs = 0;
if (x != width * programIndex) ++errs;