Sign in
dawn
/
dawn
/
d2a397bcafb722423f56c1517ac472ab81dd6dee
/
.
/
test
/
tint
/
builtins
/
frexp
/
vector
/
const.wgsl.expected.wgsl
blob: 71a7f5285bb26a27c51b2fb03737037374a6237c [
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
;
}