Files
ispc/tests/test-149.ispc
2015-05-14 16:26:26 +03:00

13 lines
292 B
Plaintext

export uniform int width() { return programCount; }
export void f_f(uniform float RET[], uniform float aFOO[]) {
double a = aFOO[programIndex];
RET[programIndex] = round(a+.49999);
}
export void result(uniform float RET[]) {
RET[programIndex] = 1 + (double) programIndex;
}