Sign in
dawn
/
tint
/
refs/heads/chromium/4867
/
.
/
test
/
expressions
/
swizzle
/
write
/
vec3
/
f32.wgsl
blob: c7d16333a1acd27d5d295bd29b1982dd3f57d511 [
file
] [
log
] [
blame
] [
edit
]
struct
S
{
v
:
vec3
<f32>
;
};
var
<private>
P
:
S
;
fn f
()
{
P
.
v
=
vec3
<f32>
(
1.0
,
2.0
,
3.0
);
P
.
v
.
x
=
1.0
;
P
.
v
.
y
=
2.0
;
P
.
v
.
z
=
3.0
;
}