Sign in
dawn
/
tint
/
3e80ae68ee4baa5a53d01bf5eb6795b416dc5bd5
/
.
/
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
;
}