Fix test: was incorrectly failing for 8-wide targets
This commit is contained in:
@@ -8,7 +8,7 @@ export void f_f(uniform float RET[], uniform float aFOO[]) {
|
|||||||
float b = 0;
|
float b = 0;
|
||||||
if (programIndex & 1)
|
if (programIndex & 1)
|
||||||
b = atomic_or_global(s, (1 << programIndex));
|
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[]) {
|
export void result(uniform float RET[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user