Sign in
dawn
/
tint
/
4e6e1138160a7a003c5d09e6d6e9ba45dcb50347
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
i32.wgsl
blob: 288062243becb42a8e9e25964d1d5362bbcf25f9 [
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
;
}