blob: 11378a428f373ae04dc58825e9285ec614355a3f [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
#define TINT_ISOLATE_UB(VOLATILE_NAME) \
{volatile bool VOLATILE_NAME = false; if (VOLATILE_NAME) break;}
kernel void tint_symbol() {
uint out = 0u;
{
while(true) {
TINT_ISOLATE_UB(tint_volatile_false)
bool tint_continue = false;
switch(2) {
case 1:
{
tint_continue = true;
break;
}
default:
{
break;
}
}
if (tint_continue) {
{
if (true) { break; }
}
continue;
}
out = (out + 1u);
{
if (true) { break; }
}
continue;
}
}
}