Sign in
dawn
/
tint
/
a8c202b8e779b7ddc7edf8bf2fac9534d521fa64
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f32.wgsl
blob: 7703af9b2a30f81b41e42a30bc2aab99ca094242 [
file
] [
log
] [
blame
]
[[
block
]]
struct
S
{
v
:
vec3
<f32>
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<
storage
,
read_write
>
U
:
S
;
fn f
()
{
U
.
v
=
vec3
<f32>
(
1.0
,
2.0
,
3.0
);
U
.
v
.
x
=
1.0
;
U
.
v
.
y
=
2.0
;
U
.
v
.
z
=
3.0
;
}