blob: e85b0878b580a242ea00ab9a3b2d522ebf8aff73 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct VertexOutput {
float4 pos;
};
struct vertex_main_outputs {
float4 VertexOutput_pos [[position]];
};
void select_9b478d() {
bool arg_2 = true;
int res = select(1, 1, arg_2);
}
fragment void fragment_main() {
select_9b478d();
}
kernel void compute_main() {
select_9b478d();
}
VertexOutput vertex_main_inner() {
VertexOutput out = {};
out.pos = float4(0.0f);
select_9b478d();
return out;
}
vertex vertex_main_outputs vertex_main() {
return vertex_main_outputs{.VertexOutput_pos=vertex_main_inner().pos};
}