Sign in
dawn
/
dawn
/
refs/heads/chromium/4992
/
.
/
test
/
tint
/
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
;
}