Sign in
dawn
/
dawn
/
c027f33cfd88efd155e88623300dc3356fcd6b95
/
.
/
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
;
}