blob: 8c17b121caef9f0f01fb5dee525b773a1e50719c [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;
}
}
}