Sign in
dawn
/
dawn
/
c07de73b0b56efcabc355c2a4df9211dcf1b0f30
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const.wgsl.expected.wgsl
blob: a9414da678030ee82ea4785b7aa0764ae8930a8c [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
in
=
1.25
;
let
res
=
modf
(
in
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}