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

12 lines
241 B
Plaintext

export void f_v(uniform float RET[]) {
float<3> a = {1,10,100};
float<6> b = a.zxyyxz;
RET[programIndex] = b.x + 2*b.y + 3*b.z - 3*b[3] - 2*b[4] - b[5];
}
export void result(uniform float RET[]) {
RET[programIndex] = 0;
}