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