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