Sign in
dawn
/
tint
/
b79f51ece3d42e96ea4952b9b1469b8d0563f337
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f32.wgsl
blob: 623d785903b8637c782f41c93ac5c46af1046f35 [
file
] [
log
] [
blame
]
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
;
}