Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.16.1/tests/ref-9.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

15 lines
308 B
Plaintext

int &foo(int &a, int &b) {
return b;
}
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
int a = aFOO[programIndex];
int three = 3;
int &val = foo(a, three);
RET[programIndex] = val;
}
export void result(uniform float RET[]) {
RET[programIndex] = 3;
}