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

13 lines
279 B
Plaintext

#include "../test_static.isph"
task void f_f(uniform float RET[], uniform float aFOO[]) {
float x = aFOO[programIndex];
float a;
a = (x *= 2.);
RET[programIndex] = a + x;
}
task void result(uniform float RET[]) {
RET[programIndex] = 4 * (1+programIndex);
}