Sign in
dawn
/
tint
/
d57a129810051f867cf46657439605120c8fec12
/
.
/
test
/
intrinsics
/
modf.wgsl
blob: f8b1cf3d38cabb0e79e0390d98a0815cf10def8b [
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
;
}