Sign in
dawn
/
dawn
/
b07a7cead6e7811ec84da03b01752d4b7f64d787
/
.
/
test
/
access
/
var
/
vector.wgsl
blob: 038339c3af2fff4334a76c5946821e7e534ac3c8 [
file
] [
log
] [
blame
]
[[
stage
(
compute
)]]
fn main
()
{
var
v
:
vec3
<f32>
;
let
scalar
:
f32
=
v
.
y
;
let
swizzle2
:
vec2
<f32>
=
v
.
xz
;
let
swizzle3
:
vec3
<f32>
=
v
.
xzy
;
}