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