Sign in
dawn
/
dawn
/
2320e63eb964badefc9166be1c07d0a516b87e63
/
.
/
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
;
}