Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (17 sloc) 0.498 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

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 < 256))
            RET[programIndex] = 1;
        else {
            print("FALSE %\n", a);
            print("programCount %\n", programCount);
        }
    }
    else RET[programIndex] = 0;
}


export void result(uniform float RET[]) {
    RET[programIndex] = 0;
    RET[0] = RET[1] = 1;
}
Something went wrong with that request. Please try again.