2021-06-03 11:26:17 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2021-07-20 16:35:00 +00:00
|
|
|
struct tint_symbol {
|
|
|
|
float4 value [[position]];
|
|
|
|
};
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
void length_602a17() {
|
2021-07-20 16:35:00 +00:00
|
|
|
float res = fabs(1.0f);
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
2021-07-20 16:35:00 +00:00
|
|
|
vertex tint_symbol vertex_main() {
|
2021-06-03 11:26:17 +00:00
|
|
|
length_602a17();
|
2021-07-20 16:35:00 +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() {
|
|
|
|
length_602a17();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void compute_main() {
|
|
|
|
length_602a17();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|