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