2022-04-07 13:42:45 +00:00
|
|
|
#include <metal_stdlib>
|
2022-04-07 13:42:45 +00:00
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
using namespace metal;
|
2023-03-20 21:46:01 +00:00
|
|
|
struct tint_private_vars_struct {
|
|
|
|
int i;
|
|
|
|
};
|
|
|
|
|
|
|
|
void tint_symbol(thread tint_private_vars_struct* const tint_private_vars) {
|
|
|
|
(*(tint_private_vars)).i = as_type<int>((as_type<uint>((*(tint_private_vars)).i) - as_type<uint>(1)));
|
2022-04-07 13:42:45 +00:00
|
|
|
}
|
|
|
|
|