2022-02-11 12:59:08 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2023-03-20 21:46:01 +00:00
|
|
|
struct tint_private_vars_struct {
|
|
|
|
int a;
|
|
|
|
};
|
|
|
|
|
2022-02-11 12:59:08 +00:00
|
|
|
fragment void f() {
|
2023-03-20 21:46:01 +00:00
|
|
|
thread tint_private_vars_struct tint_private_vars = {};
|
|
|
|
tint_private_vars.a = 1;
|
|
|
|
int const b = tint_private_vars.a;
|
2022-02-11 12:59:08 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|