Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 339 Bytes
export uniform int width() { return programCount; }
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
int a = aFOO[programIndex];
int br = (programCount == 1) ? 4 : broadcast(a, (uniform int)b-2);
RET[programIndex] = br;
}
export void result(uniform float RET[]) {
RET[programIndex] = 4;
}
Something went wrong with that request. Please try again.