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

16 lines
291 B
Plaintext

#include "../test_static.isph"
void inc(int * uniform v) {
++*v;
}
task void f_f(uniform float RET[], uniform float aFOO[]) {
uniform float * uniform b = &aFOO[0];
++b;
b++;
RET[programIndex] = *b;
}
task void result(uniform float RET[]) {
RET[programIndex] = 3;
}