Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 346 Bytes
export uniform int width() { return programCount; }
export void f_fu(uniform float ret[], uniform float v[], uniform float u) {
double d = v[programIndex];
double r = u;
if (d <= 2.)
r = d;
ret[programIndex] = r;
}
export void result(uniform float ret[]) {
ret[programIndex] = 5;
ret[0] = 1;
ret[1] = 2;
}
Jump to Line
Something went wrong with that request. Please try again.