Sign in
dawn
/
tint
/
f3f8ec384506ab5fc8e8ab5d3a2b0c57d6057c0a
/
.
/
test
/
intrinsics
/
modf.wgsl.expected.wgsl
blob: ba6a7c68df2d83b4af8ad7800a6f02697a7fce3d [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
let
res
=
modf
(
1.230000019
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}