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 isNan_e4978e() {
|
|
|
|
bool res = isnan(1.0f);
|
|
|
|
}
|
|
|
|
|
2021-06-04 17:31:48 +00:00
|
|
|
vertex tint_symbol vertex_main() {
|
2021-06-03 11:26:17 +00:00
|
|
|
isNan_e4978e();
|
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() {
|
|
|
|
isNan_e4978e();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void compute_main() {
|
|
|
|
isNan_e4978e();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|