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