2021-06-17 09:10:04 +00:00
|
|
|
var<private> gl_Position : vec4<f32>;
|
2021-05-18 09:24:18 +00:00
|
|
|
|
2021-06-17 09:10:04 +00:00
|
|
|
fn main_1() {
|
2021-05-18 09:24:18 +00:00
|
|
|
gl_Position = vec4<f32>(0.0, 0.0, 0.0, 0.0);
|
|
|
|
return;
|
|
|
|
}
|
2021-06-17 09:10:04 +00:00
|
|
|
|
|
|
|
struct main_out {
|
|
|
|
[[builtin(position)]]
|
|
|
|
gl_Position : vec4<f32>;
|
|
|
|
};
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
|
|
|
fn main() -> main_out {
|
|
|
|
main_1();
|
|
|
|
return main_out(gl_Position);
|
|
|
|
}
|