Sign in
dawn
/
dawn
/
a5ded402136cc3e734bcf5692c3534f7aa2e5afd
/
.
/
test
/
tint
/
builtins
/
frexp
/
vector
/
runtime.wgsl
blob: bb595dddcffd3ada71882505d499d288e8f7a54c [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
let
in
=
vec2
(
1.25
,
3.75
);
let
res
=
frexp
(
in
);
let
fract
:
vec2
<f32>
=
res
.
fract
;
let
exp
:
vec2
<i32>
=
res
.
exp
;
}