blob: e62f9187833b54ac2932454f3ccc17db02bca6fe [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);
}