Sign in
dawn
/
tint
/
a2f4134c560115523cf8a83ef3a73eb2405b8a30
/
.
/
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
;
}