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