Sign in
dawn
/
dawn
/
f15c1c3d73ee4000e5c1044c0ac33a583b7883cb
/
.
/
test
/
tint
/
ptr_sugar
/
compound_assign_member.wgsl.expected.ir.dxc.hlsl
blob: adabda537a48bf255b7d9b2eda2257d78ce21d8d [
file
] [
log
] [
blame
]
void
deref
()
{
int3 a
=
(
0
).
xxx
;
int3 p
=
a
;
p
[
0u
]
=
(
p
.
x
+
42
);
}
void
no_deref
()
{
int3 a
=
(
0
).
xxx
;
int3 p
=
a
;
p
[
0u
]
=
(
p
.
x
+
42
);
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
deref
();
no_deref
();
}