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 {
|
2022-01-19 22:46:57 +00:00
|
|
|
@builtin(position)
|
2022-03-28 14:31:22 +00:00
|
|
|
gl_Position : vec4<f32>,
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2021-06-17 09:10:04 +00:00
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(vertex)
|
2021-06-17 09:10:04 +00:00
|
|
|
fn main() -> main_out {
|
|
|
|
main_1();
|
|
|
|
return main_out(gl_Position);
|
|
|
|
}
|