Sign in
dawn
/
tint
/
0fe30b52a5c93473923419d0043840d61ca46746
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
i32.wgsl.expected.wgsl
blob: b84a23a763eb5cfaa9cc50cae5e6a90fc05c946e [
file
] [
log
] [
blame
]
[[
block
]]
struct
S
{
v
:
vec3
<i32>
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<
storage
,
read_write
>
U
:
S
;
fn f
()
{
U
.
v
=
vec3
<i32>
(
1
,
2
,
3
);
U
.
v
.
x
=
1
;
U
.
v
.
y
=
2
;
U
.
v
.
z
=
3
;
}