blob: f6c8f250df72a0e83fd69d758aa41852475d37b0 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct VertexOutput {
float4 pos;
int loc0;
};
VertexOutput foo(float x) {
VertexOutput const tint_symbol = {float4(x, x, x, 1.0f), 42};
return tint_symbol;
}
VertexOutput vert_main1() {
return foo(0.5f);
}
VertexOutput vert_main2() {
return foo(0.25f);
}