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