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