blob: 52ba66bf3133ee3409e6a026e70ed37b4de6487e [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
float v;
};
void x(thread float* const p) {
*(p) = 0.0f;
}
void g(thread tint_private_vars_struct* const tint_private_vars) {
x(&((*(tint_private_vars)).v));
}
fragment void f() {
thread tint_private_vars_struct tint_private_vars = {};
g(&(tint_private_vars));
return;
}