Sign in
dawn
/
dawn
/
c2f6f2f5d481a724aa1a34e0c756a277aefb7bef
/
.
/
test
/
tint
/
ptr_sugar
/
vector_swizzle.wgsl.expected.wgsl
blob: 316ee2d6f7d6c6ddc43a62ef6d18ea52f7824baf [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
buffer
:
vec4i
;
fn deref
()
{
let
p
=
&(
buffer
);
buffer
=
(*(
p
)).
wzyx
;
}
fn no_deref
()
{
let
p
=
&(
buffer
);
buffer
=
p
.
wzyx
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
deref
();
no_deref
();
}