Sign in
dawn
/
dawn
/
f5abb823f98d0ab55b31b63453d46188b7f9e5a3
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const_members.wgsl.expected.wgsl
blob: 2798e32fdcb7516962b36992359a0d9b71ed7658 [
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
;
}