2021-06-21 19:04:56 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
int f() {
|
|
|
|
int i = 0;
|
|
|
|
while (true) {
|
2021-07-30 18:59:06 +00:00
|
|
|
i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
|
2021-06-21 19:04:56 +00:00
|
|
|
if ((i > 4)) {
|
|
|
|
return i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|