blob: 0e9729460b49eb59f90b5ba7966be4d959598ad4 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread float4* gl_Position;
};
struct main_out {
float4 gl_Position [[position]];
};
void main_1(tint_module_vars_struct tint_module_vars) {
(*tint_module_vars.gl_Position) = float4(0.0f);
}
vertex main_out tint_symbol() {
thread float4 gl_Position = 0.0f;
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.gl_Position=(&gl_Position)};
main_1(tint_module_vars);
return main_out{.gl_Position=(*tint_module_vars.gl_Position)};
}