blob: b7e912c9ec69700e8c9e697c845ac756aaff7686 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
{
int i = 0;
while(true) {
if ((i < 2)) {
} else {
break;
}
bool tint_continue = false;
switch(i) {
case 0:
{
tint_continue = true;
break;
}
default:
{
break;
}
}
if (tint_continue) {
{
i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
}
continue;
}
{
i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
}
continue;
}
}
}