Sign in
dawn
/
dawn
/
0bb6d4d0b5c854e83cf3846092eb3079afd72194
/
.
/
test
/
tint
/
builtins
/
frexp
/
scalar
/
mixed.wgsl
blob: 18049a42c4494da02f12ba1842e3802a4a63afb4 [
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
;
}