Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/ptr-null-func-arg.ispc
2025-05-18 13:04:45 +08:00

13 lines
243 B
Plaintext

#include "../test_static.isph"
bool bar(float * x) {
return (x != 0);
}
task void f_f(uniform float RET[], uniform float aFOO[]) {
RET[programIndex] = bar(NULL);
}
task void result(uniform float RET[]) {
RET[programIndex] = 0;
}