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