blob: a809d8b6391928ad7836a1294455d3d3fc4eb389 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device uint* i;
};
#define TINT_ISOLATE_UB(VOLATILE_NAME) \
volatile bool VOLATILE_NAME = true; \
if (VOLATILE_NAME)
void tint_symbol(tint_module_vars_struct tint_module_vars) {
{
TINT_ISOLATE_UB(tint_volatile_true) while(true) {
if (((*tint_module_vars.i) < 10u)) {
} else {
break;
}
{
(*tint_module_vars.i) = ((*tint_module_vars.i) - 1u);
}
continue;
}
}
}