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

12 lines
215 B
Plaintext

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