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

14 lines
309 B
Plaintext

float a[100];
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
for (uniform int i = 0; i < programCount; ++i)
a[i] = i*programCount+programIndex;
RET[programIndex] = a[b-5];
}
export void result(uniform float RET[]) {
RET[programIndex] = programIndex;
}