blob: 59cb65414ebc260d5426faa3da841ce31ecf26ec [file] [log] [blame] [edit]
#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
int j = 0;
{
uint2 tint_loop_idx = 0u;
int i = 0;
while(true) {
if (all((tint_loop_idx == uint2(4294967295u)))) {
break;
}
if ((i < 2)) {
} else {
break;
}
bool tint_continue = false;
switch(i) {
case 0:
{
bool tint_continue_1 = false;
switch(j) {
case 0:
{
tint_continue_1 = true;
break;
}
default:
{
break;
}
}
if (tint_continue_1) {
tint_continue = true;
break;
}
break;
}
default:
{
break;
}
}
if (tint_continue) {
{
uint const tint_low_inc = (tint_loop_idx.x + 1u);
tint_loop_idx.x = tint_low_inc;
uint const tint_carry = uint((tint_low_inc == 0u));
tint_loop_idx.y = (tint_loop_idx.y + tint_carry);
i = as_type<int>((as_type<uint>(i) + as_type<uint>(2)));
}
continue;
}
{
uint const tint_low_inc = (tint_loop_idx.x + 1u);
tint_loop_idx.x = tint_low_inc;
uint const tint_carry = uint((tint_low_inc == 0u));
tint_loop_idx.y = (tint_loop_idx.y + tint_carry);
i = as_type<int>((as_type<uint>(i) + as_type<uint>(2)));
}
continue;
}
}
}