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

12 lines
234 B
Plaintext

#include "../test_static.isph"
struct Foo { };
task void f_f(uniform float RET[], uniform float aFOO[]) {
uniform Foo f;
RET[programIndex] = sizeof(f);
}
task void result(uniform float RET[]) {
RET[programIndex] = 1;
}