Sign in
dawn
/
dawn
/
97bddeee201549ba7122b1e7bc5f6bedf7986841
/
.
/
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
;
}