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