dawn-cmake/test/intrinsics/gen/isFinite/426f9f.wgsl.expected.msl

28 lines
428 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_symbol {
float4 value [[position]];
};
void isFinite_426f9f() {
bool res = isfinite(1.0f);
}
vertex tint_symbol vertex_main() {
isFinite_426f9f();
tint_symbol const tint_symbol_1 = {.value=float4()};
return tint_symbol_1;
}
fragment void fragment_main() {
isFinite_426f9f();
return;
}
kernel void compute_main() {
isFinite_426f9f();
return;
}