Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/ptr-int-null-1.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

15 lines
300 B
Plaintext

#include "../test_static.isph"
bool foo(int *ptr) {
return (ptr == NULL);
}
task void f_f(uniform float RET[], uniform float aFOO[]) {
uniform int a = 1;
uniform int * uniform b = 0;
RET[programIndex] = foo(0);
}
task void result(uniform float RET[]) {
RET[programIndex] = 1;
}