Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

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

export uniform int width() { return programCount; }



void foo(float & a) {
    a = 0;
}

export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
    float a = aFOO[programIndex];
    if (a >= 3)
        foo(a);
    RET[programIndex] = a;
}

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