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