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

21 lines
321 B
Plaintext

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