some cfor tests fixes for > 16 lanes

This commit is contained in:
Evghenii
2014-01-20 16:42:33 +01:00
parent 47c17305cf
commit 5a773ed62a
8 changed files with 46 additions and 28 deletions

View File

@@ -10,9 +10,9 @@ struct Foo {
export void f_fi(uniform float RET[], uniform float aFOO[], uniform int bFOO[]) {
float a = aFOO[programIndex];
int b = bFOO[programIndex];
varying Foo myFoo[17];
varying Foo myFoo[programCount+1];
uniform int i;
cfor (i = 0; i < 17; ++i) {
cfor (i = 0; i < programCount+1; ++i) {
myFoo[i].x = i;
myFoo[i].f = 2*i;
}