Sign in
dawn
/
dawn
/
2777cbc4415efdbd7d67a0cf2f95bc3825e1fe53
/
.
/
test
/
tint
/
builtins
/
modf.wgsl
blob: c96821a33364b0f79f87a97cd4fdff2627166f93 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
let
res
=
modf
(
1.23
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}