#include "test_static.isph"
task void f_f(uniform float RET[], uniform float aFOO[]) {
    RET[programIndex] = -1;
    int32 a = (1ul << (min(programIndex, 30)));
    RET[programIndex] = exclusive_scan_or(a);
}


task void result(uniform float RET[]) {
    #pragma ignore warning(perf)
    RET[programIndex] = (1ul << (min(programIndex, 31))) - 1;
}
