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

13 lines
286 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+(0.50001d));
}
export void result(uniform float RET[]) {
RET[programIndex] = programIndex + 2;
}