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

13 lines
247 B
Plaintext

#include "../test_static.isph"
task void f_v(uniform float RET[]) {
varying struct { float x, y; int i; } a;
a.x = 1;
a.y = 2;
RET[programIndex] = a.x + a.y;
}
task void result(uniform float RET[]) {
RET[programIndex] = 3;
}