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

9 lines
234 B
Plaintext

#include "../test_static.isph"
float bar(float x);
task void f_v(uniform float RET[]) { RET[programIndex] = bar(3.); }
float bar(float x) { return 2. * x; }
task void result(uniform float RET[]) {
RET[programIndex] = 6.000000;
}