Sign in
dawn
/
dawn
/
08f33fe5c6daea5cede4c1a5ac891fd3bf975c31
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f32.wgsl
blob: 7733e986c9fd349bf12dd4bfbb24c07aec5cc95e [
file
] [
log
] [
blame
]
struct
S
{
v
:
vec3
<f32>
,
};
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
U
:
S
;
fn f
()
{
U
.
v
=
vec3
<f32>
(
1.0
,
2.0
,
3.0
);
U
.
v
.
x
=
1.0
;
U
.
v
.
y
=
2.0
;
U
.
v
.
z
=
3.0
;
}