Sign in
dawn
/
tint
/
01e4b54497febf506d5d66ff8928474c07fdaab9
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f32.wgsl
blob: 9a194ea6bcb02d8ef831df00e379ed1eb17edfc5 [
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
;
}