Sign in
dawn
/
dawn
/
refs/heads/tint-merge
/
.
/
test
/
tint
/
builtins
/
modf.wgsl.expected.wgsl
blob: 8e95d07f81fa1c91a15414ba11831500e88813c8 [
file
] [
log
] [
blame
] [
edit
]
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
let
res
=
modf
(
1.230000019
);
let
fract
:
f32
=
res
.
fract
;
let
whole
:
f32
=
res
.
whole
;
}