Sign in
dawn
/
dawn
/
e2f35ba8e0a4f8f234660c980a1917f5504482a3
/
.
/
test
/
intrinsics
/
modf.wgsl
blob: 6991b74f30c194acbf4ce52546d8942e3cb1c5eb [
file
] [
log
] [
blame
]
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
let
res
=
modf
(
1.23
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}