13 lines
288 B
Plaintext
13 lines
288 B
Plaintext
|
|
export uniform int width() { return programCount; }
|
|
|
|
|
|
export void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
float a = aFOO[programIndex];
|
|
RET[programIndex] = round(a+.5);
|
|
}
|
|
|
|
export void result(uniform float RET[]) {
|
|
RET[programIndex] = (programIndex / 2) * 2 + 2;
|
|
}
|