blob: 652765398408e73ea61729e85a0dfcbb0dac5535 [file] [log] [blame]
struct VertexOutput {
[[builtin(position)]] pos : vec4<f32>;
[[location(0)]] loc0 : i32;
};
fn foo(x : f32) -> VertexOutput {
return VertexOutput(vec4<f32>(x, x, x, 1.0), 42);
}
fn vert_main1() -> VertexOutput {
return foo(0.5);
}
fn vert_main2() -> VertexOutput {
return foo(0.25);
}