Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.18.0/tests/test-58.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05: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;
}