Sign in
dawn
/
dawn
/
61a57fa5a11f521ac369591f824231682eba7ce4
/
.
/
test
/
tint
/
builtins
/
modf
/
vector
/
runtime.wgsl.expected.wgsl
blob: 30487a5d4760286015ef15d77274d23a7412811f [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
let
in
=
vec2
(
1.25
,
3.75
);
let
res
=
modf
(
in
);
let
fract
:
vec2
<f32>
=
res
.
fract
;
let
whole
:
vec2
<f32>
=
res
.
whole
;
}