Sign in
dawn
/
dawn
/
b07a7cead6e7811ec84da03b01752d4b7f64d787
/
.
/
test
/
access
/
let
/
vector.wgsl
blob: 478cf0ac95ce0718d7f77f45158ab707121b8cfd [
file
] [
log
] [
blame
]
[[
stage
(
compute
)]]
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
;
}