Sign in
dawn
/
dawn
/
c07de73b0b56efcabc355c2a4df9211dcf1b0f30
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
mixed.wgsl.expected.wgsl
blob: 920baa1ce6499b3b121d1650b75a720bb37fcc6a [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
const_in
=
1.25
;
let
runtime_in
=
1.25
;
var
res
=
modf
(
const_in
);
res
=
modf
(
runtime_in
);
res
=
modf
(
const_in
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}