Fix test: was incorrectly failing for 8-wide targets

This commit is contained in:
Matt Pharr
2011-09-01 05:03:49 -07:00
parent 85063f493c
commit 9cd92facbd

View File

@@ -8,7 +8,7 @@ export void f_f(uniform float RET[], uniform float aFOO[]) {
float b = 0;
if (programIndex & 1)
b = atomic_or_global(s, (1 << programIndex));
RET[programIndex] = popcnt(reduce_add((int32)b));
RET[programIndex] = popcnt(reduce_max((int32)b));
}
export void result(uniform float RET[]) {