Sign in
dawn
/
dawn
/
f748f2ae222ffcd6f20c7d78a4922c07f2880a5d
/
.
/
test
/
access
/
let
/
vector.wgsl.expected.wgsl
blob: b661cf43b7a4674ee49f07c64f7322c86986d93d [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
let
v
:
vec3
<f32>
=
vec3
<f32>
(
1.0
,
2.0
,
3.0
);
let
scalar
:
f32
=
v
.
y
;
let
swizzle2
:
vec2
<f32>
=
v
.
xz
;
let
swizzle3
:
vec3
<f32>
=
v
.
xzy
;
}