Sign in
dawn
/
dawn
/
e4e74858548a60d3115fc76ede6d6ed9a8415dc3
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
u32.wgsl.expected.wgsl
blob: 8db4caf3c2ef3babb40de0734253a40c0942ec0b [
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
;
}