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