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

@@ -12,7 +12,7 @@ export void f_v(uniform float RET[]) {
int y = 1 + width * programIndex;
int z = 2 + width * programIndex;
soa_to_aos3(x, y, z, a, 0);
soa_to_aos3(x, y, z, a);
uniform int errs = 0;
for (uniform int i = 0; i < width * programCount; ++i)
if (a[i] != i) ++errs;