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

@@ -17,8 +17,8 @@ void set(uniform float3 f[], int offset, float3 val) {
export void f_f(uniform float RET[], uniform float aFOO[]) {
float a = aFOO[programIndex];
uniform float3 foo[35];
for (uniform int i = 0; i < 35; ++i) {
uniform float3 foo[programCount+5];
for (uniform int i = 0; i < programCount+5; ++i) {
foo[i].x = i;
foo[i].y = -1;
foo[i].z = 2*i;