Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (11 sloc) 0.354 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 i, r = 0.;
    for (i = 0; i < a; ++i)
        r += b;
    RET[programIndex] = r;
}


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