Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
builtins
/
frexp
/
scalar
/
mixed.wgsl.expected.wgsl
blob: c46880d04ff533118696a811e19911c8a8411519 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
const_in
=
1.25
;
let
runtime_in
=
1.25
;
var
res
=
frexp
(
const_in
);
res
=
frexp
(
runtime_in
);
res
=
frexp
(
const_in
);
let
fract
:
f32
=
res
.
fract
;
let
exp
:
i32
=
res
.
exp
;
}