Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 442 Bytes
export uniform int width() { return programCount; }
export void f_f(uniform float RET[], uniform float aFOO[]) {
uniform float * uniform buf = uniform new uniform float[32*32];
for (uniform int i = 0; i < 32*32; ++i)
buf[i] = i;
RET[programIndex] = buf[(programIndex >> 2) * 16 + (programIndex & 3)];
}
export void result(uniform float RET[]) {
RET[programIndex] = (programIndex >> 2) * 16 + (programIndex & 3);
}
Something went wrong with that request. Please try again.