Sign in
dawn
/
dawn
/
0dc5c3fdea0fc8c8be4657a52f0a9053a91e387c
/
.
/
test
/
tint
/
builtins
/
frexp
/
scalar
/
const_members.wgsl
blob: 1d61cac726f98258ef1b4961853d8b5b830ea2ac [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
in
=
1.25
;
const
res
=
frexp
(
in
);
let
fract
:
f32
=
res
.
fract
;
let
exp
:
i32
=
res
.
exp
;
}