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

18 lines
365 B
Plaintext

export void f_f(uniform float RET[], uniform float aFOO[]) {
float a = aFOO[programIndex];
float b = aFOO[programIndex];
if (a == 2) {
unmasked {
a = 0;
if (b == 5)
a = 1;
}
}
RET[programIndex] = a;
}
export void result(uniform float RET[]) {
RET[programIndex] = 0;
RET[4] = 1;
}