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