Sign in
dawn
/
dawn
/
55c0c9d950edb4f45b2f94d5c3e4114fc30609e8
/
.
/
test
/
tint
/
access
/
let
/
vector.wgsl
blob: 3589c6b44532ea398d83360894f2d40485af633d [
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
;
}