Sign in
dawn
/
tint
/
0fe30b52a5c93473923419d0043840d61ca46746
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f32.wgsl.expected.wgsl
blob: db3ef396f4fb68874c520b381e4f25e8a2d6cfe0 [
file
] [
log
] [
blame
]
[[
block
]]
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
;
}