blob: e2655d34fd63d5602456818712ab1c1c463e31f9 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
constant static volatile bool tint_preserve_loop = true;
int f() {
int i = 0;
while(((i < 4)) == tint_preserve_loop) {
i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
}
return i;
}