Sign in
dawn
/
tint
/
b4c338ff37a1702415cbceec16e0bb1d162fc920
/
.
/
test
/
tint
/
builtins
/
modf.wgsl
blob: 6991b74f30c194acbf4ce52546d8942e3cb1c5eb [
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
;
}