Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 395 Bytes
export uniform int width() { return programCount; }
int zero = 0;
export void f_f(uniform float RET[], uniform float aFOO[]) {
uniform int a[programCount];
for (uniform int i = 0; i < programCount; ++i)
a[i] = aFOO[i];
int g = a[programIndex+zero];
RET[programIndex] = g;
}
export void result(uniform float RET[]) {
RET[programIndex] = 1 + programIndex;
}
Something went wrong with that request. Please try again.