Sign in
dawn
/
dawn
/
dbf9e41a121f3e299a578e0f96c9a30f9624d445
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f32.wgsl.expected.wgsl
blob: 4d6b7a825155bcb99a4483814625d75f29896edb [
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
;
}