Sign in
dawn
/
tint
/
b79f51ece3d42e96ea4952b9b1469b8d0563f337
/
.
/
test
/
expressions
/
swizzle
/
write
/
vec3
/
i32.wgsl
blob: 9abf24a83db393ec4c3aa3d7ce55bcd7933555b3 [
file
] [
log
] [
blame
]
struct
S
{
v
:
vec3
<i32>
;
};
var
<private>
P
:
S
;
fn f
()
{
P
.
v
=
vec3
<i32>
(
1
,
2
,
3
);
P
.
v
.
x
=
1
;
P
.
v
.
y
=
2
;
P
.
v
.
z
=
3
;
}