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