Sign in
dawn
/
dawn
/
81b3948649893e3f33492042462ff948d8f98ac1
/
.
/
test
/
access
/
var
/
vector.wgsl
blob: 8197419fc0e433c54abfcc676a9af0f8bf0f5e29 [
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
;
}