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;
|
|
|
|
};
|
|
|
|
|
2021-05-26 15:41:02 +00:00
|
|
|
kernel void tint_symbol() {
|
2023-03-20 21:46:01 +00:00
|
|
|
thread tint_private_vars_struct tint_private_vars = {};
|
|
|
|
int const i = tint_private_vars.I;
|
2022-08-03 02:49:28 +00:00
|
|
|
int const u = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
|
2021-05-26 15:41:02 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|