Sign in
dawn
/
dawn
/
5e2d8af6adf50b664a6984344b1435b6198fcf3d
/
.
/
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
;
}