2021-06-03 11:26:17 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2021-06-04 17:31:48 +00:00
|
|
|
struct tint_symbol {
|
|
|
|
float4 value [[position]];
|
|
|
|
};
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
void max_4883ac() {
|
2021-06-28 15:30:57 +00:00
|
|
|
float3 res = fmax(float3(), float3());
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
2021-06-04 17:31:48 +00:00
|
|
|
vertex tint_symbol vertex_main() {
|
2021-06-03 11:26:17 +00:00
|
|
|
max_4883ac();
|
2021-06-04 17:31:48 +00:00
|
|
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
|
|
|
return tint_symbol_1;
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fragment void fragment_main() {
|
|
|
|
max_4883ac();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void compute_main() {
|
|
|
|
max_4883ac();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|