Sign in
dawn
/
dawn
/
6ab5d3c1519e3b8d76598a20a5fdc3bb84d35fd2
/
.
/
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
;
}