Sign in
dawn
/
tint
/
35ce0d19937e30520de5ea195cfb273ec3321c82
/
.
/
test
/
access
/
let
/
vector.wgsl.expected.wgsl
blob: ad790bfced88b02700381899d70459ec9c54b425 [
file
] [
log
] [
blame
]
[[
stage
(
compute
)]]
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
;
}