Sign in
dawn
/
dawn
/
refs/heads/chromium/6045
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const_members.wgsl.expected.wgsl
blob: 2798e32fdcb7516962b36992359a0d9b71ed7658 [
file
] [
log
] [
blame
] [
edit
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
in
=
1.25
;
const
res
=
modf
(
in
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}