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 clamp_2bd567() {
|
2021-06-28 15:30:57 +00:00
|
|
|
float res = clamp(1.0f, 1.0f, 1.0f);
|
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
|
|
|
clamp_2bd567();
|
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() {
|
|
|
|
clamp_2bd567();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void compute_main() {
|
|
|
|
clamp_2bd567();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|