Sign in
dawn
/
tint
/
5f6a185d0210fa6adf8bbcc4c2f4f3133e671001
/
.
/
test
/
access
/
var
/
vector.wgsl
blob: 078f82e453955f653f9f06e135d2c1a31dbea0b3 [
file
] [
log
] [
blame
]
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
var
v
:
vec3
<f32>
;
let
scalar
:
f32
=
v
.
y
;
let
swizzle2
:
vec2
<f32>
=
v
.
xz
;
let
swizzle3
:
vec3
<f32>
=
v
.
xzy
;
}