Sign in
dawn
/
dawn
/
1fc6db312a66e9590c7e2c34fd8c65dafb895da3
/
.
/
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
;
}