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