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

10 lines
248 B
Plaintext

export void f_f(uniform float RET[], uniform float aFOO[]) {
uniform float * varying b = aFOO;
uniform float * uniform c = &aFOO[10];
RET[programIndex] = c - b;
}
export void result(uniform float RET[]) {
RET[programIndex] = 10;
}