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