Sign in
dawn
/
dawn
/
dbf9e41a121f3e299a578e0f96c9a30f9624d445
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
packed_vec3
/
u32.wgsl
blob: 660a13b6542e569460f45deaa2475df54091f6fc [
file
] [
log
] [
blame
]
struct
S
{
v
:
vec3
<u32>
,
};
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
U
:
S
;
fn f
()
{
U
.
v
=
vec3
<u32>
(
1u
,
2u
,
3u
);
U
.
v
.
x
=
1u
;
U
.
v
.
y
=
2u
;
U
.
v
.
z
=
3u
;
}