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

20 lines
282 B
Plaintext

#include "../test_static.isph"
// rule: skip on arch=xe64
struct InnerVec {
int i;
};
struct f_sz {
InnerVec u;
uniform int tail;
};
export void keep_struct_declared(varying f_sz * uniform s) {
}
task void result(uniform float RET[]) {
RET[0] = sizeof(f_sz);
}