Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/lit-tests/397.ispc
2025-05-18 13:04:45 +08:00

14 lines
220 B
Plaintext

// RUN: %{ispc} --target=host --nostdlib --nowrap -o %t.o %s
typedef struct {
int x;
double y;
} MY_DATA;
export void foo_ispc(uniform MY_DATA records[])
{
foreach(i=0 ... 10) {
MY_DATA* d = records+i;
}
}