#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 half2x2* tint_symbol [[buffer(0)]]) { | |
half2x2 const l_m = *(tint_symbol); | |
half2 const l_m_1 = (*(tint_symbol))[1]; | |
return; | |
} | |