Sign in
dawn
/
dawn
/
62bb477e43907c408252d81002c5b06efc05444a
/
.
/
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
();
}