Sign in
dawn
/
dawn
/
aef595799dea1914e56e0b32910065b6df1d3777
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
vec3
/
f32.wgsl
blob: c94794439216afd2819bcc534321b1e9405cb127 [
file
] [
log
] [
blame
]
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
;
}