blob: 97a249a5809b3546b70e7393133c44c421e994a6 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct PixelLocal {
uint a [[color(1)]];
};
struct tint_private_vars_struct {
PixelLocal V;
};
struct f_res {
uint output_0 [[color(1)]];
};
void f_inner(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).V.a = 42u;
}
fragment f_res f(PixelLocal pixel_local_1) {
thread tint_private_vars_struct tint_private_vars = {};
tint_private_vars.V = pixel_local_1;
f_inner(&(tint_private_vars));
return {.output_0=tint_private_vars.V.a};
}