28 lines
440 B
Plaintext
28 lines
440 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
struct tint_symbol {
|
||
|
float4 value [[position]];
|
||
|
};
|
||
|
|
||
|
void select_78be5f() {
|
||
|
float3 res = select(float3(), float3(), bool());
|
||
|
}
|
||
|
|
||
|
vertex tint_symbol vertex_main() {
|
||
|
select_78be5f();
|
||
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
||
|
return tint_symbol_1;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
select_78be5f();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
select_78be5f();
|
||
|
return;
|
||
|
}
|
||
|
|