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