Fix some tests for up to 64-wide gangs

This commit is contained in:
Jean-Luc Duprat
2012-05-29 07:51:48 -07:00
committed by Matt Pharr
parent 1f6075506c
commit ece65cab18
6 changed files with 56 additions and 16 deletions

View File

@@ -5,8 +5,12 @@ export uniform int width() { return programCount; }
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
float a = aFOO[programIndex];
if (a < 3) {
if (all(a < 3))
if (all(a < 256))
RET[programIndex] = 1;
else {
print("FALSE %\n", a);
print("programCount %\n", programCount);
}
}
else RET[programIndex] = 0;
}