blob: b0c5224fb456337d0b8bfe31768b792850a4f801 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
int counter;
};
int i(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).counter = as_type<int>((as_type<uint>((*(tint_private_vars)).counter) + as_type<uint>(1)));
return (*(tint_private_vars)).counter;
}
kernel void f(const constant half2x4* tint_symbol_1 [[buffer(0)]]) {
thread tint_private_vars_struct tint_private_vars = {};
tint_private_vars.counter = 0;
int const tint_symbol = i(&(tint_private_vars));
int const p_m_i_save = tint_symbol;
half2x4 const l_m = *(tint_symbol_1);
half4 const l_m_i = (*(tint_symbol_1))[p_m_i_save];
return;
}