Sign in
dawn
/
tint
/
refs/heads/chromium/4862
/
.
/
test
/
access
/
let
/
vector.wgsl.expected.wgsl
blob: d7d7a2de0c698b70f1c9904b53b0204737c68a7d [
file
] [
log
] [
blame
] [
edit
]
@stage
(
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
;
}