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

12 lines
220 B
Plaintext

export void f_v(uniform float RET[]) {
int i=0, j=0;
cwhile (i++ < 10) {
++j;
if (i >= 5) break;
++j;}
RET[programIndex] = (float)j; }
export void result(uniform float RET[]) {
RET[programIndex] = 9.000000;
}