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