dawn-cmake/test/tint/builtins/frexp.wgsl.expected.msl

16 lines
282 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct frexp_result_f32 {
float fract;
int exp;
};
kernel void tint_symbol() {
frexp_result_f32 const res = frexp_result_f32{.fract=0.61500001f, .exp=1};
int const exp = res.exp;
float const fract = res.fract;
return;
}