Files
ispc/tests/ptr-null-func-arg.ispc
2012-03-27 09:50:21 -07:00

15 lines
270 B
Plaintext

export uniform int width() { return programCount; }
bool bar(float * x) {
return (x != 0);
}
export void f_f(uniform float RET[], uniform float aFOO[]) {
RET[programIndex] = bar(NULL);
}
export void result(uniform float RET[]) {
RET[programIndex] = 0;
}