Sign in
dawn
/
dawn
/
04b531d071b0faeaa680f87316c8da2a83f6dd06
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const.wgsl
blob: 81079c14b7c149e1df3d947851c6c059cb0262af [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
in
=
1.25
;
let
res
=
modf
(
in
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}