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

16 lines
265 B
Plaintext

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