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

13 lines
272 B
Plaintext

#include "../test_static.isph"
task void f_v(uniform float RET[]) {
int i=0, j=0;
do {
++j;
if (i >= 5) break;
++j;
} while (++i < 10);
RET[programIndex] = j;
}
task void result(uniform float RET[]) { RET[programIndex] = 11; }