Sign in
dawn
/
tint
/
refs/heads/chromium/4756
/
.
/
test
/
expressions
/
swizzle
/
write
/
packed_vec3
/
i32.wgsl
blob: fb1ebc5be7335f05b39ef1c7952448d2c49059d2 [
file
] [
log
] [
blame
] [
edit
]
[[
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
;
}