Files
ispc/tests/test-27.ispc
2011-06-21 12:48:50 -07:00

10 lines
265 B
Plaintext

export uniform int width() { return programCount; }
export void f_v(uniform float RET[]) { if (true) { RET[programIndex] = (5%3) * (4./8.) + 2.14159; } else RET[programIndex] = 1.; }
export void result(uniform float RET[]) {
RET[programIndex] = 3.141590;
}