Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (11 sloc) 0.377 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

export uniform int width() { return programCount; }


export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
    float a = aFOO[programIndex];
    float r = a;
    if (a <= 2.) { RET[programIndex] = b; return; }
    RET[programIndex] = r;
}


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