Sign in
dawn
/
tint
/
57489928c6bfc468c8b45e76446eb4b403c012d2
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
i32.wgsl.expected.wgsl
blob: 75986e14f712adf369939fdd10ac7c2365fec490 [
file
] [
log
] [
blame
]
struct
S
{
v
:
vec3
<i32>
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<
storage
,
read_write
>
U
:
S
;
fn f
()
{
U
.
v
=
vec3
<i32>
(
1
,
2
,
3
);
U
.
v
.
x
=
1
;
U
.
v
.
y
=
2
;
U
.
v
.
z
=
3
;
}