Sign in
dawn
/
dawn
/
d2a397bcafb722423f56c1517ac472ab81dd6dee
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
packed_vec3
/
i32.wgsl
blob: 355f6d2d59daa43db68e604571c17085c7dded19 [
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
;
}