Sign in
dawn
/
dawn
/
8fd4ef26f5c6ede28d09d79d52dbdde931d1a718
/
.
/
test
/
tint
/
access
/
let
/
vector.wgsl.expected.wgsl
blob: 664686704265d76253b4fead7ee73de73add07a3 [
file
] [
log
] [
blame
]
@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
;
}