Sign in
dawn
/
dawn
/
fd73b822f5579e641afd8e240b67dacb841ff092
/
.
/
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
;
}