blob: 65eb95d7cc51857ec44fb3aca2a5fd59ab0bd156 [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 = {.gl_Position=(&gl_Position)};
main_1(tint_module_vars);
return {.gl_Position=(*tint_module_vars.gl_Position)};
}