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