2021-05-26 15:41:02 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2023-03-20 21:46:01 +00:00
|
|
|
struct tint_private_vars_struct {
|
|
|
|
int I;
|
|
|
|
};
|
|
|
|
|
|
|
|
void main_1(thread tint_private_vars_struct* const tint_private_vars) {
|
|
|
|
int const x_9 = (*(tint_private_vars)).I;
|
2021-07-30 18:59:06 +00:00
|
|
|
int const x_11 = as_type<int>((as_type<uint>(x_9) + as_type<uint>(1)));
|
2021-05-26 15:41:02 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2021-06-17 09:10:04 +00:00
|
|
|
kernel void tint_symbol() {
|
2023-03-20 21:46:01 +00:00
|
|
|
thread tint_private_vars_struct tint_private_vars = {};
|
|
|
|
tint_private_vars.I = 0;
|
|
|
|
main_1(&(tint_private_vars));
|
2021-06-17 09:10:04 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|