Sign in
dawn
/
tint
/
d35f8d99e7f8fbdd01505d8d8580438cbd6c5efb
/
.
/
test
/
access
/
let
/
vector.wgsl
blob: c7689526c43620ec56ccf8b23be0a1801e025cd9 [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
let
v
:
vec3
<f32>
=
vec3
<f32>
(
1.
,
2.
,
3.
);
let
scalar
:
f32
=
v
.
y
;
let
swizzle2
:
vec2
<f32>
=
v
.
xz
;
let
swizzle3
:
vec3
<f32>
=
v
.
xzy
;
}