Sign in
dawn
/
tint
/
refs/heads/chromium/4887
/
.
/
test
/
builtins
/
modf.wgsl
blob: 6991b74f30c194acbf4ce52546d8942e3cb1c5eb [
file
] [
log
] [
blame
] [
edit
]
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
let
res
=
modf
(
1.23
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}