
export uniform int width() { return programCount; }


export void f_f(uniform float RET[4], uniform float aFOO[]) {
    int64 a = aFOO[programIndex];
    a = (a < 3) ? 1 : 0;
    if ((programIndex & 1) != 0)
        a |= ((int64)1 << 36);
    RET[programIndex] = popcnt(a);
}

export void result(uniform float RET[]) { 
    RET[programIndex] = 0;
    if (programIndex & 1)
        ++RET[programIndex];
    if (programIndex < 2)
        ++RET[programIndex];
}

