Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/double-mask-test.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

18 lines
371 B
Plaintext

#include "../test_static.isph"
// rule: skip on cpu=tgllp
// rule: skip on cpu=dg2
task void f_fu(uniform float ret[], uniform float v[], uniform float u) {
double d = v[programIndex];
double r = u;
if (d <= 2.)
r = d;
ret[programIndex] = r;
}
task void result(uniform float ret[]) {
ret[programIndex] = 5;
ret[0] = 1;
ret[1] = 2;
}