Sign in
dawn
/
dawn
/
c09f30b0bd22e85ab3732a8e3a2f284cd2b08690
/
.
/
test
/
tint
/
access
/
let
/
vector.wgsl
blob: 87604a91c9b5dc3bc5dbcf7606aaa4a9249ba92f [
file
] [
log
] [
blame
]
@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
;
}