blob: 65c53576e4e68df12c4cc62f7d43c2c171a39d23 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
#define TINT_ISOLATE_UB(VOLATILE_NAME) \
{volatile bool VOLATILE_NAME = false; if (VOLATILE_NAME) break;}
bool func_3(const constant int* const tint_symbol_1) {
for(int i = 0; (i < *(tint_symbol_1)); i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)))) {
TINT_ISOLATE_UB(tint_volatile_false);
for(int j = -1; (j == 1); j = as_type<int>((as_type<uint>(j) + as_type<uint>(1)))) {
TINT_ISOLATE_UB(tint_volatile_false_1);
return false;
}
}
return false;
}
kernel void tint_symbol(const constant int* tint_symbol_2 [[buffer(0)]]) {
func_3(tint_symbol_2);
return;
}