Sign in
dawn
/
dawn
/
a561b989290824819e6fa9fbea0728a31fd45361
/
.
/
test
/
tint
/
ptr_sugar
/
compound_assign_member.wgsl.expected.ir.fxc.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
();
}