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