blob: 97fb1ae72e62909d516af4430b2209efa5115bfc [file] [log] [blame]
var<private> position : vec3<f32>;
var<private> gl_Position : vec4<f32>;
fn main_1() {
let x_21 : vec3<f32> = position;
gl_Position = vec4<f32>(x_21.x, x_21.y, x_21.z, 1.0);
return;
}
struct main_out {
@builtin(position)
gl_Position : vec4<f32>,
}
@stage(vertex)
fn main(@location(0) position_param : vec3<f32>) -> main_out {
position = position_param;
main_1();
return main_out(gl_Position);
}